Django secret project variables
Project description
Django Secrecy
- python 3.6+
- Django 2+
Secrecy is a simple app which create settings structure:
- settings:
- prodacion.py
- development.py
- secrets.json; JSON file with "secret project variables"
Quick start
- pip install django-secrecy
- From your project root dir
./generator <project_name>- to create settings structure. - Run
python manage.py secrecy- to rewrite JSON with new secrets variables.
Extra params
- if you need extra params use
python manage.py secrecy --add. - add in settings <NEW_SECRET> = secrets.<NEW_SECRET>
- Params always bee UPPER.
From repo without development.py
- to create basic developmet.py use
./generator <project_name> --dev - if you don't have settings
./generator <project_name> --devsame effect./generator <project_name>
TODO
- REFACTORING :D
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_secrecy-0.99.5-py3-none-any.whl.
File metadata
- Download URL: django_secrecy-0.99.5-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b03a53982d2a180a7ce73b950df0a2e9a47f5730fd4f306fe02bbe915b25cec
|
|
| MD5 |
7ceda296e0e628a4cac87bb2fee6064c
|
|
| BLAKE2b-256 |
0d4b93ffb03f3e06c83dbdd9734005fc15c2dcf0c10934b21db1d1c591668067
|