A base django project containing commonly used functionality
Project description
base-django-project
This is a base project for django work. It contains a handful of django apps that I find useful installed by default. Specifically:
- dj_database_url for extracting a database configuration from a valid DB URI
- django-extensions for running a more powerful shell
- django-fsm for easily creating state machines to track complex processes through the application
- django-simple-history for easily creating history tables for our models in order to improve application auditability
- djangorestframework for easily creating REST APIs
Usage
In your project's settings.py
, remove all default configuration generated by django.
Then at the top, simply put:
from base_django_project.webapp.settings import *
# place any custom modifications here
Motivation
When standing up many django projects over a short amount of time, I often find myself duplicating configurations. This project allows any user to quickly drop in their favorite default configuration for settings.py
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-base-project-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | add95b71c491e9a87f57f4aa9860b4155fee80b9ea3e952a3553aab553a1de28 |
|
MD5 | 2248f08f70ba59508195032f235700c1 |
|
BLAKE2b-256 | 8b7cb453738e3578e04202c5919bf426f0ee4096a6147b36eb2b9f1ed27bec88 |