Skip to main content

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.

Metadata

Release files for django-base-project 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-base-project 0.0.6
File Size Uploaded
django-base-project-0.0.6.tar.gz 3.9 kB Details

Release files / django-base-project-0.0.6.tar.gz

Download URL django-base-project-0.0.6.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
119aca787cc8d737846df48ce51405bc9a11131fb1f261656b38f4722b96a864
BLAKE2b-256 checksum
How to use checksums
dc5033af3dfbeebcd14b12a7953078cbae2bdd4d8b326b777f9c62a90650c1c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page