Skip to content

SolanoJason/django-best-practices-template

Repository files navigation

django-best-practices-template

A Django project template that follows best practices. This template is designed to be used with the django-admin startproject command.

Features

  • Organized project structure
  • Settings module split into base, development, and production settings
  • Custom user model in the accounts app
  • Integration with django-extensions, django-debug-toolbar, flake8, black
  • Includes basic setup for static files and templates

Requirements

  • Poetry
  • Django

Usage

  1. Create django project:
$ django-admin startproject --template=https://github.com/SolanoJason/django-best-practices-template/archive/main.zip --extension=py,toml,env projectname
$ cd projectname
  1. Install dependencies using poetry
$ poetry install

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

Releases

No releases published

Packages

No packages published

Languages