1 from base import Setting, SettingSet
2 from django.utils.translation import ugettext as _
4 URLS_SET = SettingSet('urls', _('URL settings'), _("Some settings to tweak behaviour of site urls (experimental)."))
6 ALLOW_UNICODE_IN_SLUGS = Setting('ALLOW_UNICODE_IN_SLUGS', False, URLS_SET, dict(
7 label = _("Allow unicode in slugs"),
8 help_text = _("Allow unicode/non-latin characters in urls."),
11 FORCE_SINGLE_URL = Setting('FORCE_SINGLE_URL', True, URLS_SET, dict(
12 label = _("Force single url"),
13 help_text = _("Redirect the request in case there is a mismatch between the slug in the url and the actual slug"),