Basic Template
April 26, 2022 ยท View on GitHub
The Basic template comes bundled with:
- git initialized
- Readme file with project setup instructions
- python-decouple: for managing environment varibales See Package Docs Here.
- drf-spactacular: for auto-generating APi docs See Package Docs Here.
Medior Template
The Medior template comes bundled with:
- Everything in the Basic Template +
- A custom user model defined in a
usersapp - dj-database-url: for connecting to various databases See Package Docs Here.
- pre-commit, black, isort, flake8: for code linting with pre-commit hooks See this tutorial for more on working with pre-commit hooks in Python
Advanced Template
The Advanced template comes bundled with:
- Everything in the Medior Template +
- pytest-django: for writing unit tests with pytest See Package Docs Here.
- Docker for containerization. We are using docker to setup the postgres db for this project as well. check out this tutorial for guide on how to work with docker, and postgres in Django
- Authentication endpoints defined in an
authenticationapp with thedj-rest-auth and all-authpackages. See Package Docs Here.