This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Help us improve Python packaging - Donate today!
Project Description
Django Dynamic Settings


1. Add ``dynsettings`` to your ``INSTALLED_APPS``:

2. Run syncdb to create dynsettings table.


1. Import dynsettings object to manipulate your settings:
from dynsettings.models import dynsettings

2. Define your initial settings values in your (optional):
'my_initial_data': 12345

3. Use dynamic settings like a dictionary:
import datetime

dynsettings['my_data_name'] = u'Today is'
dynsettings['my_data_name2'] =

print dynsettings['my_data_name'], dynsettings['my_data_name2'].strftime("%d/%m/%Y")
print dynsettings['my_initial_data']

dynsettings['my_initial_data'] = "abcd"

print dynsettings['my_initial_data']

The code above will print the following output: <br />
\>\>\> Today is 18/01/2013 <br />
\>\>\> 12345<br />
\>\>\> abcd
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-dynsettings-0.1.0.win32-py2.7.exe (200.6 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jan 20, 2013 (5.1 kB) Copy SHA256 Checksum SHA256 Source Jan 20, 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