From ae91c42a2bcceb8d2b907a1e8e66c9b45c241e76 Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Tue, 28 Jan 2025 11:24:51 +0100 Subject: [PATCH] updated settings template to reflect static path --- call2025/settings.template.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/call2025/settings.template.py b/call2025/settings.template.py index bf03b42..16031fd 100644 --- a/call2025/settings.template.py +++ b/call2025/settings.template.py @@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-nn7mvrgu6de^%z&6t1usgaji_*59z*v+230tluec-h4fw*n(%i # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['xpub.nl'] # Application definition @@ -121,7 +121,7 @@ DEPLOY = True if DEPLOY: STATIC_URL = '/2025/call/static/' - STATIC_ROOT = "/var/www/wsgi/call2025/static/" + STATIC_ROOT = "/data/www/xpub.nl/www.xpub.nl/2025/call/static/" else: STATIC_URL = 'static/' @@ -132,7 +132,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' if DEPLOY: MEDIA_URL = '/2025/call/media/' - MEDIA_ROOT = "/var/www/wsgi/call2025/media/" + MEDIA_ROOT = "/data/www/xpub.nl/www.xpub.nl/2025/call/media/" else: MEDIA_ROOT = 'media/' MEDIA_URL = 'media/'