django-production
django-production copied to clipboard
production settings for Django
CSRF_TRUSTED_ORIGINS needs to [be set](https://docs.djangoproject.com/en/4.1/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS) for Django 4.0+ if you want any POST requests, aka the Django admin and any other form, to work in production. Maybe something in `settings.py`...
I'd like to support Windows (`gunicorn` doesn't work there), but I don't have any experience running Django on it. How are folks deploying Django projects to Windows? Is [`waitress`](https://pypi.org/project/waitress/) the...
Potential problems with the current approach: * middleware/apps will get added twice if they already exist pre-patch * imports may be duplicated and get added somewhere other than the top...