Skip to main content

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

  1. pip install django-secrecy
  2. From your project root dir ./generator <project_name> - to create settings structure.
  3. 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> --dev same effect ./generator <project_name>

TODO

  • REFACTORING :D

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

If you're not sure about the file name format, learn more about wheel file names.

django_secrecy-0.99-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file django_secrecy-0.99-py3-none-any.whl.

File metadata

  • Download URL: django_secrecy-0.99-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for django_secrecy-0.99-py3-none-any.whl
Algorithm Hash digest
SHA256 c4bae50cc00da923fe36db0f756d9e5b51cb1da3cf5f09a734cc10de91363852
MD5 12dec171d181e63dac2d4098dc0f51ff
BLAKE2b-256 12ebfd55cf3c9556e36dae6901e0903d73c577dffad81430388c23e3136ff510

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 Sentry Error logging StatusPage Status page