settings: point to local theme and template
This commit is contained in:
parent
87de22584e
commit
b6ea3b9b3e
|
@ -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:
|
||||
|
|
|
@ -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',)
|
||||
|
|
Reference in New Issue