""" Django settings for benchmark project. Shared by Django Ninja and Django Bolt. """ from __future__ import annotations import os from pathlib import Path BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = "benchmark-secret-key-not-for-production" DEBUG = False ALLOWED_HOSTS = ["*"] INSTALLED_APPS = [ "django.contrib.contenttypes", "django.contrib.auth", "django_project.users", "django_bolt", "rest_framework", ] MIDDLEWARE = [] ROOT_URLCONF = "django_project.urls" DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": BASE_DIR / "django_benchmark.db", } } DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" USE_TZ = True LOGGING = { "version": 1, "disable_existing_loggers": True, "handlers": {}, "loggers": {}, }