Add from __future__ import unicode_literals, issue #37
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
"""Configuration options for the permissions app"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from smart_settings.api import register_settings
|
||||
|
||||
register_settings(
|
||||
namespace=u'permissions',
|
||||
module=u'permissions.settings',
|
||||
namespace='permissions',
|
||||
module='permissions.settings',
|
||||
settings=[
|
||||
{'name': u'DEFAULT_ROLES', 'global_name': u'ROLES_DEFAULT_ROLES', 'default': [], 'description': _('A list of existing roles that are automatically assigned to newly created users')},
|
||||
{'name': 'DEFAULT_ROLES', 'global_name': 'ROLES_DEFAULT_ROLES', 'default': [], 'description': _('A list of existing roles that are automatically assigned to newly created users')},
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user