Commit b484e48d71ed3b78e5c54ebc12ab907750831d60
1 parent
b10e2117
Exists in
dev
Remove testing value in settings.py
Showing
1 changed file
with
7 additions
and
5 deletions
Show diff stats
src/core/pyros_django/pyros/settings.py
... | ... | @@ -168,7 +168,7 @@ try: |
168 | 168 | |
169 | 169 | except: |
170 | 170 | set_environment_variables_if_not_configured(ENV_PATH,ENV_SAMPLE_PATH) |
171 | -ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'pyros.irap.omp.eu', 'astroguita.freeboxos.fr', '0.0.0.0'] | |
171 | +ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'pyros.irap.omp.eu', 'astroguita.hd.free.fr', '0.0.0.0'] | |
172 | 172 | # defining variables when using Docker |
173 | 173 | if WITH_DOCKER: |
174 | 174 | ALLOWED_HOSTS.append('0.0.0.0') |
... | ... | @@ -443,8 +443,9 @@ MEDIA_URL = '/public/media/' |
443 | 443 | |
444 | 444 | |
445 | 445 | # To find the static files in the app/static/app/... folders |
446 | -STATIC_URL = '/test/static/' | |
447 | -#STATIC_URL = '/static/' | |
446 | +STATIC_URL = '/public/static/' | |
447 | +# testing | |
448 | +#STATIC_URL = '/test/static/' | |
448 | 449 | |
449 | 450 | # To find the static files in src/static/. Any local directory can be added to this list. |
450 | 451 | STATICFILES_DIRS = ( |
... | ... | @@ -454,8 +455,9 @@ STATICFILES_DIRS = ( |
454 | 455 | ) |
455 | 456 | |
456 | 457 | # Used for deployment (DEBUG = False). Need to run "python manage.py collectstatic" to fill it. |
457 | -STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'test', 'static') | |
458 | - | |
458 | +STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'public', 'static') | |
459 | +# testing | |
460 | +# STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'test', 'static') | |
459 | 461 | # LOGGING = { |
460 | 462 | # 'version': 1, |
461 | 463 | # 'disable_existing_loggers': False, | ... | ... |