Serve static files at /static/

This commit is contained in:
Koen Bolhuis 2018-09-26 23:25:14 +02:00
parent 03ca23d5c9
commit be143d2afd
1 changed files with 4 additions and 0 deletions

View File

@ -134,3 +134,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.0/howto/static-files/ # https://docs.djangoproject.com/en/2.0/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, '../frontpage'),
]