- New Features - Add core project entry points (asgi.py, wsgi.py, urls.py) - Create settings hierarchy (base.py, production.py) with environment parsing - Configure DRF, JWT, Swagger, Tailwind, and HTMX defaults out‑of‑the‑box- Enhancements - Set up CORS and security defaults for dev and prod environments - Enable WhiteNoise and Tailwind CLI for static file handling
12 lines
301 B
Python
12 lines
301 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="core.settings.production"))
|
|
|
|
application = get_wsgi_application() |