Skip to main content

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 (too .gitignore)
    • secrets.json; JSON file with "secret project variables"

Quick start

  1. pip install django-secrecy
  2. From your project root dir ./generator - to create settings structure.
  3. Run python manage.py secrecy - rewrite JSON with new secrets file.

Extra params

  • if you need extra params use python manage.py secrecy --add.
  • add in settings <NEW_SECRET> = secrets.<NEW_SECRET>
  • Params <name> always bee UPPER.

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.

Files for django-secrecy, version 0.98
Filename, size File type Python version Upload date Hashes
Filename, size django_secrecy-0.98-py3-none-any.whl (8.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page