Skip to main content

Start Django projects with sensitive data outside of the global settings module

Project description

Build Status


Creates and uses the installed Django project template to keep sensitive data out of global settings.


To install django-safe-project run:

pip install django-safe-project

Or download the latest release here and install by running:

python install


When installed, call

django-safe-project <projectname>

instead of

django-admin startproject <projectname>

This will create a separate module in the project path named containing all the things you don’t want to ever place in any sort of VCS ever. will then be gitignored and its contents imported into the main module.

Currently the list of settings this handles are:

  • SECRET_KEY (obviously)
  • DATABASES (duh!!!)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-safe-project, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size django_safe_project-0.0.6-py2.py3-none-any.whl (7.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-safe-project-0.0.6.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page