X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=settings.py;h=f23d20c4c62e66c03ae4a808ad4ec928320c40c0;hb=refs%2Fheads%2Fproduction-master-something;hp=9393d9494882b9fae7dd0883e9edfca9f03b3c3b;hpb=6e1daff6b9d4aaf18b4fb67494888a9eb5b47be7;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/settings.py b/settings.py index 9393d94..f23d20c 100644 --- a/settings.py +++ b/settings.py @@ -1,4 +1,4 @@ -# Django settings for ee project. +# Django settings for xerxes project. import os @@ -12,7 +12,8 @@ DEBUG = False TEMPLATE_DEBUG = DEBUG ADMINS = ( - # ('Your Name', 'your_email@domain.com'), + # Server errors get sent here + ('Matthijs Kooijman', 'matthijs@stdin.nl'), ) MANAGERS = ADMINS @@ -50,7 +51,7 @@ MEDIA_ROOT = '' MEDIA_URL = '' # URL prefix for static files. Will be made available by -# ee.tools.context_processors.static +# xerxes.tools.context_processors.static STATIC_URL_PREFIX = '/static/' # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a @@ -78,7 +79,7 @@ MIDDLEWARE_CLASSES = ( #'django.middleware.locale.LocaleMiddleware', ) -ROOT_URLCONF = 'ee.urls' +ROOT_URLCONF = 'xerxes.urls' TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". @@ -93,10 +94,10 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', - 'ee.events', - 'ee.influences', - 'ee.base', - 'ee.tools', + 'xerxes.events', + 'xerxes.influences', + 'xerxes.base', + 'xerxes.tools', ) TEMPLATE_CONTEXT_PROCESSORS = ( @@ -104,7 +105,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.debug", "django.core.context_processors.i18n", # Add STATIC_URL_PREFIX to the context - "ee.tools.context_processors.static", + "xerxes.tools.context_processors.static", ) LOGIN_URL = "/accounts/login/" @@ -113,7 +114,7 @@ LOGIN_REDIRECT_URL = "/influences/" # Allow authentication against the phpb user accounts AUTHENTICATION_BACKENDS = ( - 'ee.auth.PhpBBBackend', + 'xerxes.auth.PhpBBBackend', 'django.contrib.auth.backends.ModelBackend', )