settings: point to local theme and template

This commit is contained in:
Frédéric Péters 2013-04-11 18:02:45 +02:00
parent 87de22584e
commit b6ea3b9b3e
2 changed files with 3 additions and 3 deletions

View File

@ -70,6 +70,9 @@ PASSWORD_HASHERS += (
'authentic2.hashers.Drupal7PasswordHasher',
)
TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), 'templates'),) + TEMPLATE_DIRS
STATICFILES_DIRS = (os.path.join(os.path.dirname(__file__), 'static'),) + STATICFILES_DIRS
try:
from local_settings import *
except ImportError:

View File

@ -22,9 +22,6 @@ DATABASES = {
},
}
TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), 'theme', 'templates'),) + TEMPLATE_DIRS
STATICFILES_DIRS = (os.path.join(os.path.dirname(__file__), 'theme', 'static'),) + STATICFILES_DIRS
if DEBUG:
INSTALLED_APPS += ('debug_toolbar',)
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)