mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-14 02:52:21 +01:00
Proper handling of static files.
This commit is contained in:
@ -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 = '/'
|
||||
|
||||
Reference in New Issue
Block a user