Proper handling of static files.

This commit is contained in:
Jim Driessen
2017-01-22 14:27:34 +01:00
parent 33290df16b
commit 898588bc64
25 changed files with 2 additions and 9790 deletions

View File

@ -132,12 +132,9 @@ USE_TZ = True
# zc files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.10/howto/static-files/
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = (
os.path.join(BASE_DIR, "static"),
)
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'