Skip to content
Snippets Groups Projects
Commit e11630a2 authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI
Browse files

[settings] Pre-commit cleanup

parent a3259630
No related branches found
No related tags found
2 merge requests!362Settings cleanup,!342Django 3 migration
Pipeline #42658 passed
......@@ -28,7 +28,6 @@
import os
import platform
SHM_PATH = "/dev/shm/beatweb" # nosec
......
......@@ -28,9 +28,9 @@
# Django settings for tests on the CI server
import os
from .test import * # noqa
from . import get_test_db_path
from . import get_test_prefix_path
from .test import * # noqa
RUNNING_ON_CI = True
DATABASES["default"]["OPTIONS"]["timeout"] = 60 # noqa
......
......@@ -27,7 +27,7 @@
# Django settings for debugging infrastructure
from .settings import *
from .settings import * # noqa: F403
DEBUG = False
TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
DEBUG = False
TEMPLATES[0]["OPTIONS"]["debug"] = DEBUG # noqa: F405
......@@ -28,9 +28,9 @@
# Django settings for tests
import os
from .settings import * # noqa
from . import get_test_db_path
from . import get_test_prefix_path
from .settings import * # noqa
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