.
This commit is contained in:
+2
-2
@@ -155,8 +155,8 @@ REMOTE_URL = "http://penracourses.org.uk/"
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
|
||||
|
||||
if DEBUG:
|
||||
MEDIA_URL = REMOTE_URL + MEDIA_URL
|
||||
#if DEBUG:
|
||||
# MEDIA_URL = REMOTE_URL + MEDIA_URL
|
||||
|
||||
# Redirect to home URL after login (Default redirects to /accounts/profile/)
|
||||
LOGIN_REDIRECT_URL = "/"
|
||||
|
||||
Reference in New Issue
Block a user