refactor: format
This commit is contained in:
parent
a98b428614
commit
a2c8f469a7
@ -76,6 +76,7 @@ DB_NAME = config.get("database", "name", fallback="notfellchen.sqlite3")
|
||||
DB_USER = config.get("database", "user", fallback='')
|
||||
DB_PASSWORD = config.get("database", "password", fallback='')
|
||||
DB_HOST = config.get("database", "host", fallback='')
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
LOCALE_PATHS = [os.path.join(BASE_DIR, 'locale')]
|
||||
@ -92,7 +93,6 @@ GEOCODING_API_URL = config.get("geocoding", "api_url", fallback="https://nominat
|
||||
""" Tile Server """
|
||||
MAP_TILE_SERVER = config.get("map", "tile_server", fallback="https://tiles.hyteck.de")
|
||||
|
||||
|
||||
""" OxiTraffic"""
|
||||
OXITRAFFIC_ENABLED = config.get("tracking", "oxitraffic_enabled", fallback=False)
|
||||
OXITRAFFIC_BASE_URL = config.get("tracking", "oxitraffic_base_url", fallback="")
|
||||
@ -187,6 +187,8 @@ MIDDLEWARE = [
|
||||
|
||||
ROOT_URLCONF = 'notfellchen.urls'
|
||||
|
||||
SETTINGS_PATH = os.path.dirname(os.path.dirname(__file__))
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
|
Loading…
Reference in New Issue
Block a user