This commit is contained in:
Ross
2021-02-15 11:45:21 +00:00
parent ef77661416
commit fd34d7b1e6
3 changed files with 42 additions and 2 deletions
+2 -2
View File
@@ -148,7 +148,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.11/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
STATIC_ROOT = '/home/django/rad/static/'
REMOTE_URL = "http://penracourses.org.uk"
#
@@ -156,7 +156,7 @@ REMOTE_URL = "http://penracourses.org.uk"
# STATIC_URL = REMOTE_URL + STATIC_URL
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
MEDIA_ROOT = '/home/django/rad/media/'
#if DEBUG:
# MEDIA_URL = REMOTE_URL + MEDIA_URL