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.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_secrecy-0.99.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.26.0 CPython/3.6.5

File hashes

Hashes for django_secrecy-0.99.3-py3-none-any.whl
Algorithm Hash digest
SHA256 430ec255cba8918066b08a7e98b8a45da2ad2d784fbd4c92daa09fb8d746e721
MD5 2fb0a56724c2fbfac69be0c0ad2a627c
BLAKE2b-256 1eb9208cf42901cbf95f82d2117bda997da8f420181e5c9274b37981387a7559

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