chore(core): scaffold Django core structure with settings, urls, asgi, wsgi
- 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
This commit is contained in:
8 files changed
+369
No files matched your search
@@ -0,0 +1,12 @@
|
||||
"""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()
|
||||
Reference in new issue
Block a user