mirror of
https://github.com/nikdoof/test-auth.git
synced 2026-01-30 16:08:14 +00:00
Fix template location
This commit is contained in:
@@ -12,7 +12,7 @@ SITE_ID = 1
|
|||||||
USE_I18N = True
|
USE_I18N = True
|
||||||
|
|
||||||
# Defines the Static Media storage as per staticfiles contrib
|
# Defines the Static Media storage as per staticfiles contrib
|
||||||
STATIC_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'static')
|
STATIC_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', 'static')
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'
|
ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ MIDDLEWARE_CLASSES = (
|
|||||||
ROOT_URLCONF = 'urls'
|
ROOT_URLCONF = 'urls'
|
||||||
|
|
||||||
TEMPLATE_DIRS = (
|
TEMPLATE_DIRS = (
|
||||||
os.path.join(os.path.dirname(__file__), "templates"),
|
os.path.join(os.path.dirname(__file__), '..', 'templates'),
|
||||||
)
|
)
|
||||||
|
|
||||||
TEMPLATE_CONTEXT_PRCESSORS = (
|
TEMPLATE_CONTEXT_PRCESSORS = (
|
||||||
|
|||||||
Reference in New Issue
Block a user