Are you an LLM? You can read better optimized documentation at /docs/applications/django.md for this page in Markdown format
Django ​
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Requirements ​
- Set the base directory where your
requirements.txtandmanage.pyfiles are located.
In the example repository, it is
/coolify.
- Add
gunicornto therequirements.txtfile, official docs. - Add
localhostand yourdomaintoALLOWED_HOSTSinsettings.pyfile, official docs.
Localhostis required for health checks to work properly.
