This commit is contained in:
Ross
2020-10-16 00:07:29 +01:00
parent fddf4223f1
commit 774a867f59
+2 -2
View File
@@ -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 = "/"