From b8a680e6deb590c58b3246782eef5b7ff673f37d Mon Sep 17 00:00:00 2001 From: Emily Feuer Date: Wed, 22 Feb 2023 19:13:59 -0500 Subject: [PATCH] Fixed issues with running server --- transcriptsite/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/transcriptsite/settings.py b/transcriptsite/settings.py index d900d5f..224523c 100644 --- a/transcriptsite/settings.py +++ b/transcriptsite/settings.py @@ -31,6 +31,7 @@ # Application definition INSTALLED_APPS = [ + 'transcription.apps.TranscriptionConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -62,6 +63,7 @@ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', + 'django.template.context_processors.media', ], }, }, @@ -117,7 +119,7 @@ STATIC_URL = 'static/' -MEDIA_URL = '/media' +MEDIA_URL = 'media/' MEDIA_ROOT = BASE_DIR / 'uploads'