From 774a867f595ce6824b48d8715894a1875a401386 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 16 Oct 2020 00:07:29 +0100 Subject: [PATCH] urls --- rad/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rad/settings.py b/rad/settings.py index 09178a66..7f009564 100644 --- a/rad/settings.py +++ b/rad/settings.py @@ -140,10 +140,10 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.11/howto/static-files/ STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(REPOSITORY_ROOT, 'static/') +STATIC_ROOT = os.path.join(BASE_DIR, 'static/') MEDIA_URL = '/media/' -MEDIA_ROOT = os.path.join(REPOSITORY_ROOT, 'media/') +MEDIA_ROOT = os.path.join(BASE_DIR, 'media/') # Redirect to home URL after login (Default redirects to /accounts/profile/) LOGIN_REDIRECT_URL = "/"