X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/01fed0849e47c9ab181963b94b76df1b84a5232b..0bd53bfd0a08e9949651ec35bf22048db8e740d9:/forum/settings/urls.py?ds=sidebyside diff --git a/forum/settings/urls.py b/forum/settings/urls.py index e532c55..e7e6797 100644 --- a/forum/settings/urls.py +++ b/forum/settings/urls.py @@ -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."),