Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 2.02 KB

README.md

File metadata and controls

87 lines (64 loc) · 2.02 KB

Django Project Template

Overview

Kickstart any new Django project with the following features already built-in:

  • A custom AUTH_USER_MODEL:
    • No fields are required to create a new User.
    • The username field is an auto-generated UUID.
    • The email field is unique and optional.
    • User's login using an email & password combination.
  • A neat /apps directory for all your Django apps.
  • A utils app for all your commonly used functions & models, including:
    • A custom JSONObjectField & JSONArrayField to help enforce the integrity of your JSON data.
  • A /settings directory for separate environment settings like dev & prod.
  • Basic Celery config.
  • Basic logging config.

Requirements

  • Python (3.9+)

Usage

django-admin startproject \
  --template https://github.com/jdeanwallace/django-project-template/zipball/master \
  --extension py,md,toml \
  --name Dockerfile,package.json,package-lock.json \
  PROJECT_NAME [/path/to/project/directory]

Note: This template helps me to get up & running with my new Django projects. Who knows, maybe it can help you too. Enjoy!