]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/urls.py
be able to have user links without ids in the url, wrapped in a setting of the URL...
[osqa.git] / forum / settings / urls.py
index e532c559e552fdb4a98724f430c44eda11da6b98..e7e6797212a6cd256388ae4b0ec1f490a5fdf1f2 100644 (file)
@@ -3,6 +3,11 @@ from django.utils.translation import ugettext as _
 
 URLS_SET = SettingSet('urls', _('URL settings'), _("Some settings to tweak behaviour of site urls (experimental)."))
 
+INCLUDE_ID_IN_USER_URLS = Setting('INCLUDE_ID_IN_USER_URLS', True, URLS_SET, dict(
+label = _("Include IDs in user URLs"),
+help_text = _("Choose this if you want to have IDs included in the user-related URLs."),
+required=False))
+
 ALLOW_UNICODE_IN_SLUGS = Setting('ALLOW_UNICODE_IN_SLUGS', False, URLS_SET, dict(
 label = _("Allow unicode in slugs"),
 help_text = _("Allow unicode/non-latin characters in urls."),