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
Make the settings_list module available in your Python environment.
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.
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',
]
Metadata
Release files for django-settings-list 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-settings-list-0.1.2.tar.gz | 3.1 kB | Without provenance | Details |
Release files / django-settings-list-0.1.2.tar.gz
| Download URL | django-settings-list-0.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fdc03f6c440469de580201f9daae5682964e4038b669f864acd52b44a6be7e7
|
|
BLAKE2b-256 checksum How to use checksums |
817eff9c2abd487caf43bae3e6a19f7895db6af12df5de832ad45f8abddee216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-settings-list 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.