This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description

django-safe-project

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

Installation

To install django-safe-project run:

pip install django-safe-project

Or download the latest release here and install by running:

python setup.py install

Usage

When installed, call

django-safe-project <projectname>

instead of

django-admin startproject <projectname>

This will create a separate module in the project path named local_settings.py containing all the things you don’t want to ever place in any sort of VCS ever.

local_settings.py will then be gitignored and its contents imported into the main settings.py module.

Currently the list of settings this handles are:

  • SECRET_KEY (obviously)
  • DATABASES (duh!!!)
  • DEBUG
  • ALLOWED_HOSTS
Release History

Release History

This version
History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_safe_project-0.0.6-py2.py3-none-any.whl (7.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 2, 2016
django-safe-project-0.0.6.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Feb 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting