From 42b878abbf9a82472ffe359d8ac22da03578bea8 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 6 Apr 2022 23:17:39 +0000 Subject: [PATCH] Bring back the static files --- apiserver/apiserver/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apiserver/apiserver/settings.py b/apiserver/apiserver/settings.py index 1c68377..b4cd823 100644 --- a/apiserver/apiserver/settings.py +++ b/apiserver/apiserver/settings.py @@ -67,6 +67,7 @@ INSTALLED_APPS = [ 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', + 'django.contrib.staticfiles', 'django.contrib.sites', 'rest_framework', 'rest_framework.authtoken', @@ -187,6 +188,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/3.0/howto/static-files/ if DEBUG: + STATIC_URL = 'devstatic/' MEDIA_URL = 'static/' MEDIA_ROOT = os.path.join(BASE_DIR, 'data/static') else: