From 24c6372d30371b236f4a14b23f22ded4ac0ef4aa Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Tue, 29 Dec 2020 15:04:06 +0100 Subject: [PATCH] set "DEBUG = True" in local_test (so static files are served) --- django_ynh/local_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_ynh/local_test.py b/django_ynh/local_test.py index 42b86dc..50e84b2 100755 --- a/django_ynh/local_test.py +++ b/django_ynh/local_test.py @@ -97,6 +97,7 @@ def create_local_test(django_settings_path, destination, runserver=False): with Path(final_home_path / 'local_settings.py').open('w') as f: f.write('# Only for local test run\n') + f.write('DEBUG = True\n') f.write('SERVE_FILES = True # used in src/inventory_project/urls.py\n') f.write('AUTH_PASSWORD_VALIDATORS = [] # accept all passwords\n')