Skip to main content

Build Status

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 files for django-safe-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-safe-project 0.0.6
File Size Uploaded
django-safe-project-0.0.6.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-safe-project 0.0.6
File Interpreter ABI Platform
django_safe_project-0.0.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 13.2 kB

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

Download URL django-safe-project-0.0.6.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d13bb0346607ffabfac596be283575fc9490f8b86aa892cfb3cc389765119b01
BLAKE2b-256 checksum
How to use checksums
af36923be25d3c752598ac048ac3a5acaada8e0304e46b2beba20c4848c259b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_safe_project-0.0.6-py2.py3-none-any.whl

Download URL django_safe_project-0.0.6-py2.py3-none-any.whl
Size 7.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d1cb59f3248f3ad2377f7e7191f64c79f6b781a73414d29d282157ae1e1707e2
BLAKE2b-256 checksum
How to use checksums
cd2d7a81bd756fd118f10d73a9271b8557f98a8c23fa5db6774b1f7b345405c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

0.0.2

2 release files

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