Skip to main content

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

django-base-project-0.0.6.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file django-base-project-0.0.6.tar.gz.

File metadata

  • Download URL: django-base-project-0.0.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-base-project-0.0.6.tar.gz
Algorithm Hash digest
SHA256 119aca787cc8d737846df48ce51405bc9a11131fb1f261656b38f4722b96a864
MD5 9ca5af4e8d4ba3df85a8cf0a57bf5a12
BLAKE2b-256 dc5033af3dfbeebcd14b12a7953078cbae2bdd4d8b326b777f9c62a90650c1c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page