This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!
Project Description
---------- django-settings-context-processor ----------

What does it do?
Makes specified django settings visible in the template rendering context.

How does it do it?
django-settings-context-processor takes the settings variable
TEMPLATE_VISIBLE_SETTINGS, which should be an iterable of strings,
and looks for a settings of the name of each iterable. The name-value
pair of this setting is then added to the template rendering context.

Can I see an example?
Yes! Assuming the root django-settings-context-processor is in your
PYTHON_PATH, this should work:


# the first 5 here are the django 1.2.1 default context processors

# define some settings we'd like to export
CONTACT_PHONE='(555) 555-5555'
CONTACT_ADDR_STREET='123 Anywhere Rd.'

# for settings_context_processor


<ul class="contact">
<li>{{ CONTACT_PHONE }}</li>
<li><a href="mailto:{{ CONTACT_EMAIL }}">{{ CONTACT_EMAIL }}</a></li>
<li>{{ CONTACT_ADDR_STREET }}</li>

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

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-context-processor-0.2.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Aug 28, 2013

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