Skip to content
Snippets Groups Projects
Commit 6efb94ac authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

Merge branch 'cleanup_settings' into 'django3_migration'

Settings cleanup

See merge request !362
parents a3259630 e11630a2
No related branches found
No related tags found
2 merge requests!362Settings cleanup,!342Django 3 migration
Pipeline #42661 passed
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
import os import os
import platform import platform
SHM_PATH = "/dev/shm/beatweb" # nosec SHM_PATH = "/dev/shm/beatweb" # nosec
......
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
# Django settings for tests on the CI server # Django settings for tests on the CI server
import os import os
from .test import * # noqa
from . import get_test_db_path from . import get_test_db_path
from . import get_test_prefix_path from . import get_test_prefix_path
from .test import * # noqa
RUNNING_ON_CI = True RUNNING_ON_CI = True
DATABASES["default"]["OPTIONS"]["timeout"] = 60 # noqa DATABASES["default"]["OPTIONS"]["timeout"] = 60 # noqa
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
# Django settings for debugging infrastructure # Django settings for debugging infrastructure
from .settings import * from .settings import * # noqa: F403
DEBUG = False DEBUG = False
TEMPLATES[0]['OPTIONS']['debug'] = DEBUG TEMPLATES[0]["OPTIONS"]["debug"] = DEBUG # noqa: F405
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
# Django settings for tests # Django settings for tests
import os import os
from .settings import * # noqa
from . import get_test_db_path from . import get_test_db_path
from . import get_test_prefix_path from . import get_test_prefix_path
from .settings import * # noqa
URL_PREFIX = "" URL_PREFIX = ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment