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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_secrecy-0.99.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2df30470130531e1d17682a7031279ac1b63c4e2148c234882165d33bc11391
MD5 fb3b41e4265c20b3e228832fed6f130e
BLAKE2b-256 3e12bc55e1a7443438a92005e83ada2b6508cffe9f6293c081db5685b862486b

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