This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Django application to provide a web interface to set a yet another django’s settings.

Basic usage

You can set a setting file containing some key-value pairs like django’s settings.py. Then a web interface to set setting values will be provided automatically.

The value in the setting file is handled as default value of web interface. A new value set from web interface overrides that default value.

The setting file will be like this:

TEST_WEBSETTING = 'default value'
SPAM = 'default spam'

Then you can get setting values from websettings.

>>> from websettings import websettings
>>> websettings.TEST_WEBSETTING
'default value'

After you set overriding value (like ‘after value’) by using web interface…:

>>> websettings.TEST_WEBSETTING
'after value'

Install

This library is registered in PyPI as django-websettings. You can install it as much as you like.

Setting

Websettings file

The position of the setting file is specified by a WEBSETTINGS_MODULE in your project’s settings.py file:

# In your settings.py file.
WEBSETTING_MODULE = 'yourproject.websettings'

Under project directory seems good. You should put these setting key’s by UPPER_CASE.

Web interface URL

The url to web interface to set setting values can be included like this:

# In your urls.py file.
url(r'^websettings/', include('websettings.urls'))

The admin user can only access this page.

Backend

django-websettings is designed to correspond to multiple backend to store settings.

You can specify the back end module to set a WEBSETTINGS_BACKEND in your project’s setting.py file:

# In your settings.py file
WEBSETTINGS_BACKEND = 'path.to.backend_module'

A DB backend (websetting.backends.db) is used by default.

Testing

django-websettings is tested by some environments, check out the Travis CI report.

Release History

Release History

1.0b1

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

0.1

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

0.0.2

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

0.0.1

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

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-websettings-0.1.tar.gz (25.0 kB) Copy SHA256 Checksum SHA256 Source Jul 13, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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