New Features - Add ASGI entry point (`asgi.py`) with environment‑based settings. - Create base and production settings modules (`base.py`, `production.py`) for shared and production‑specific configurations. - Generate root `urls.py` with DRF JWT endpoints and included app URLs. - Provide `wsgi.py` configured for production settings. Enhancements - Include `django-jazzmin`, `drf-spectacular`, and `django-cors-headers` defaults. - Set up `django-tailwind-cli` and `django-htmx` middleware configurations. Bug Fixes - (none)
12 lines
303 B
Python
12 lines
303 B
Python
"""generated with djinit"""
|
|
|
|
import os
|
|
import environ
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
env = environ.Env()
|
|
environ.Env.read_env()
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", env("DJANGO_SETTINGS_MODULE", default="config.settings.production"))
|
|
|
|
application = get_wsgi_application() |