Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django app that lists the settings values for a running project using a custom view accessible only by superusers.

Project Description

django-settings-list

A simple, reusable Django app that lists the settings values for a deployed or running project using a custom admin view accessible only by superusers.

Technically, admin is not required, but by default the Settings List view is styled similarly to Django Admin.

Installation

  1. Make the settings_list module available in your Python environment.

  2. Make the settings_list/templates/ directory available in your project, either by adding settings_list to INSTALLED_APPS and enabling the app_directories template loader, or by specifying the path manually in TEMPLATE_DIRS.

  3. Add a URL pattern for the settings_list.views.settings_list view. For example:

    (r'^admin/settings/$', 'settings_list.views.settings_list'),
    

Keeping private settings private

Django Settings List uses django.views.debug.get_safe_settings, which obfuscates “secret” settings (currently, any setting with a name containing SECRET, PASSWORD, PROFANITIES_LIST, or SIGNATURE). This is the same filter used by the debug traceback reporter.

You can also manually specify additional settings to keep private by adding a PRIVATE_SETTINGS setting to your project. For example:

PRIVATE_SETTINGS = [
    'AUTHNET_MERCHANT_ID',
    'AUTHNET_TRANSACTION_KEY',
    'AWS_ACCESS_KEY_ID',
    'AWS_SECRET_ACCESS_KEY',
]
Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-settings-list-0.1.2.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Jan 17, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting