fandsdev/django

Our production ready (too much) opinionated django template

cookiecutter
django
python

fands.dev django template

Shields.io

Easy peasy

What is in the box

  • API-only django (checkout this post in Russian) based on Django REST Framework with JWT support.
  • uv with separate development-time dependencies.
  • Strict type checking with mypy, django-stubs and djangorestframework-stubs.
  • tons of linters and formatters (contact us if any interesting linter is not included, see Makefile fmt, lint commands).
  • Starter CI configuration on GitHub Actions.
  • pytest with useful stuff like freezegun, pytest-mock and super convenient DRF test client.
  • Custom user model.
  • drf-spectacular for API Schema generation.
  • django-axes for additional security.
  • Whitenoise for effortless static files hosting.
  • Cloudflare ready with django-ipware.
  • Sentry. Set SENTRY_DSN env var if you need it.
  • Postgres ready.

Installation

You need uv, version >=0.6.0 (how to install link). It will install python 3.12 automatically if you don't have it yet.

uvx cookiecutter gh:fandsdev/django

FAQ

I wanna hack this!

Thank you so much! Check out our build pipeline and pick any free issue.

Stars
218
0.92% more than last month
Forks
38
Open Issues
13