Skip to main content

View Django Settings at a URL

Project description

# django-settings-view-as-json

View Django Settings via URL

[![Latest PyPI version](](
[![Number of PyPI downloads](](


## Why

Because sometimes its confusing what settings are in use in your staging environments etc.

## Features

* Recursively nulls out any sensitive key values (eg passwords)

## Install

pip install django-settings-view-as-json

## Usage

from django_settings_view_as_json import settings_view

url(r'^settings/$', settings_view.as_view(), name='settings'),

## Security Warning

I highly recommend limiting this URL to either non production environments or at least Super user's. Eg

from django.contrib.auth.decorators import user_passes_test
from django_settings_view_as_json import settings_view

url(r'^settings/$', user_passes_test(lambda u: u.is_superuser)(settings_view.as_view()), name='settings'),


## JSON In Browser

I recommend [Chrome JsonView Plugin](


* Make sensitive key list a setting

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-settings-view-as-json, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size django-settings-view-as-json-0.0.5.tar.gz (38.6 kB) File type Source Python version None Upload date Hashes View

Supported by

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