diff --git a/.gitignore b/.gitignore index f39e496..5aab27b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ db/ media/ venv/ call2025/settings.py +*~ diff --git a/call2025/settings.template.py b/call2025/settings.template.py index 6539e7a..bf03b42 100644 --- a/call2025/settings.template.py +++ b/call2025/settings.template.py @@ -117,10 +117,10 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.1/howto/static-files/ # -DEPLOY = False +DEPLOY = True if DEPLOY: - STATIC_URL = '/call/static/' + STATIC_URL = '/2025/call/static/' STATIC_ROOT = "/var/www/wsgi/call2025/static/" else: STATIC_URL = 'static/' @@ -131,7 +131,7 @@ else: DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' if DEPLOY: - MEDIA_URL = '/call/media/' + MEDIA_URL = '/2025/call/media/' MEDIA_ROOT = "/var/www/wsgi/call2025/media/" else: MEDIA_ROOT = 'media/'