AUTHGROUPEX_KEY = read_pass('authgroupex.key')
AUTHGROUPEX_FIELDS = ('username', 'firstname', 'lastname', 'perms')
AUTHGROUPEX_SUPERADMIN_PERMS = ('admin',)
+AUTHGROUPEX_USER_MODEL = 'accounts.Account'
LOGIN_URL = '/xorgauth/'
LOGIN_REDIRECT_URL = '/'
+AUTH_USER_MODEL = 'accounts.Account'
+
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'
+OCALE_PATHS = (
+ os.path.join(ROOT_DIR, 'locale'),
+)
+
SITE_ID = 1
# Additional locations of static files
STATICFILES_DIRS = (
+ os.path.join(ROOT_DIR, 'static'),
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
WSGI_APPLICATION = 'xnet.wsgi.application'
TEMPLATE_DIRS = (
+ os.path.join(ROOT_DIR, 'templates'),
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
'django_authgroupex',
'xnet.site',
+ 'xnet.accounts',
'xnet.example',
)