Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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

  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 <name> 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_secrecy-0.99.3-py3-none-any.whl (9.0 kB) Copy SHA256 hash SHA256 Wheel py3 Sep 12, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page