Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.95 KB

README.md

File metadata and controls

44 lines (30 loc) · 2.95 KB

My personal (very) opinionated django template

CircleCI Shields.io Maintainability Test Coverage Support me on Patreon

Easy peasy

What is in the box

  • API-only django (checkout this post in Russian) based on Django REST Framework with JWT support
  • pip-tools with separate development-time dependencies
  • Strict type checking with mypy, django-stubs and djangorestframework-stubs
  • flake8 with ton of plugins (contact me if you know more)
  • Starter CI configuration
  • pytest with usefull stuff like freezegun, pytest-mock and super convinient DRF test client
  • Custom user model
  • drf-yasg for API Schema generation
  • django-axes for additional security
  • Whitenoise for effortless static files hosting
  • Sentry. Set SENTRY_DSN env var if you need it.
  • cloudflare-ready with django-ipware

Optional next steps

You definetely should consider this steps after installation:

Installation

$ pip install --upgrade cookiecutter
$ cookiecutter gh:f213/django

FAQ

I have got an error «'random_ascii_string' is undefined»

You should upgrade cookiecutter to the latest version: pip install --upgrade cookiecutter

I wanna hack this!

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