summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py23
1 files changed, 17 insertions, 6 deletions
diff --git a/settings.py b/settings.py
index 8e916e36..f98f709c 100644
--- a/settings.py
+++ b/settings.py
@@ -6,7 +6,9 @@ DEBUG = False
TEMPLATE_DEBUG = DEBUG
## Notification admins
-ADMINS = ()
+ADMINS = (
+ ('Dan McGee', 'dan@archlinux.org'),
+)
# Set managers to admins
MANAGERS = ADMINS
@@ -29,6 +31,14 @@ DEFAULT_CHARSET = 'utf-8'
SITE_ID = 1
+# If you set this to False, Django will make some optimizations so as not
+# to load the internationalization machinery.
+USE_I18N = False
+
+# If you set this to False, Django will not format dates, numbers and
+# calendars according to the current locale
+USE_L10N = False
+
# Default date format in templates for 'date' filter
DATE_FORMAT = 'Y-m-d'
@@ -37,13 +47,10 @@ DATE_FORMAT = 'Y-m-d'
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/media/admin_media/'
-# Login URL configuration
+# login url
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
-# Set django's User stuff to use our profile model
-AUTH_PROFILE_MODULE = 'main.UserProfile'
-
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
@@ -89,8 +96,12 @@ TEMPLATE_LOADERS = (
'django.template.loaders.app_directories.Loader',
)
-# Configure where sessions and messages should reside
+# Set django's User stuff to use our profile model
+# format is app.model
+AUTH_PROFILE_MODULE = 'main.UserProfile'
+
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
+
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
INSTALLED_APPS = (