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

A very simple settings configurable in Django Admin Panel.

Project Description

Supported types: bool, float, int, str.


  1. Install a package.
$ pip install django-simple-settings
  1. Add “simple_settings” to your INSTALLED_APPS setting:
  1. Add context processor if you would like:
  1. Create models:
$ python migrate || python syncdb


Get settings:

from simple_settings import settings

print settings.get('is_feature_available')
print settings.get('is_feature_available', default=False)
print settings['is_feature_available']

Get all settings as dict:

print settings.all()

Get settings in template if you include context processor:

{{ simple_settings.is_feature_available }}

Set settings:

settings.set('is_feature_available', True)
settings.set('pi', 3.14159265359)
settings.set('answer', 42)
settings.set('metallica', 'Yeah!')

Delete settings:



Default application settings can be overriden in

SIMPLE_SETTINGS_CACHE_TIMEOUT = 60 * 60 * 24 #  default cache timeout is one day
SIMPLE_SETTINGS_CACHE_ALIAS = 'default' # default cache backend


  • Python 2.6, 2.7, 3.3
  • Django 1.3+
Release History

Release History

This version
History Node


History Node


History Node


History Node


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-simple-settings-0.3.1.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Dec 12, 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