Powered by Cookiecutter. A boilerplate for jumpstarting RESTful API projects with Django and Django REST Framework.
This template generates a Django + DRF project with a sane structure and configuration: split settings, JWT auth, django-filter, a custom exception handler, OpenAPI docs, and tooling managed by mise and uv.
- Django 6.x, Django REST Framework 3.17
- Python 3.12+
- JWT authentication via djangorestframework-simplejwt
- Filtering via django-filter
- OpenAPI schema + Swagger/Redoc via drf-spectacular
- Versioned API under
api/v1/ misetasks +uvfor dependency management- Dockerfile included
Configurable via cookiecutter.json:
use_dramatiq(defaulty) — Dramatiq task queue with Redisuse_postgres(defaultn) — PostgreSQL instead of SQLiteuse_whitenoise(defaulty) — static file serving via WhiteNoise
cookiecutter https://github.com/cuongnb14/cookiecutter-django-drf.gitSee the generated project's README.md for how to install and run it.