From be143d2afd427340c306cbaa8dbdca6c13ac488a Mon Sep 17 00:00:00 2001 From: Koen Bolhuis Date: Wed, 26 Sep 2018 23:25:14 +0200 Subject: [PATCH] Serve static files at /static/ --- backend/RateMyCourse/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/RateMyCourse/settings.py b/backend/RateMyCourse/settings.py index 73873c8..4a8b0ad 100644 --- a/backend/RateMyCourse/settings.py +++ b/backend/RateMyCourse/settings.py @@ -134,3 +134,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/2.0/howto/static-files/ STATIC_URL = '/static/' + +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, '../frontpage'), +] \ No newline at end of file