Set up static files correctly

Working authentication
This commit is contained in:
tjp03u
2014-10-23 23:42:53 +01:00
parent c2beb24487
commit 33b454684d
141 changed files with 39734 additions and 2 deletions

View File

@@ -101,6 +101,10 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.7/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
STATIC_DIRS = (
os.path.join(BASE_DIR, 'static/')
)
TEMPLATE_DIRS = (
os.path.join(BASE_DIR, 'templates'),