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

It often happens that we need to be able dynamically to create/edit some settings and site variables, for example site title, logo and counter code.

stored-settings module is tailored specifically for these purposes allowing dynamically to create and further on to edit via django-admin records of the following types:

  • Char
  • Text
  • HTML text
  • Boolean
  • Image

Requirements

Django stored-settings requires Django 1.3 or later and Pillow. Also has TinyMCE integration.

Getting It

You can get Django stored-settings by using pip or easy_install:

$ pip install django-stored-settings or $ easy_install django-stored-settings

If you want to install it from source, grab the git repository from GitHub and run setup.py:

$ git clone git://github.com/zvadim/django-stored-settings.git
$ cd stored_settings
$ python setup.py install

Installing It

To enable stored-settings in your project you need to add it to INSTALLED_APPS in your projects settings.py file:

INSTALLED_APPS = (
    ...
    'stored_settings',
)

And also add new content processor

TEMPLATES = [{
    ...
    OPTIONS': {
        'stored_settings.context_processors.stored_settings',
        ...
    },
}]

Last step is db migration

$ python manage.py migrate

Using It

in template {{ stored_settings.my_key }}

TinyMCE

For HTML fields TinyMCE can be applied. To enable TinyMCE support in stored-settings you need to add to settings.py the following:

STORED_SETTINGS_TINYMCE_ENABLE = True
Release History

Release History

0.2.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.2.0

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.0

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-stored-settings-0.2.1.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256 Source Aug 1, 2015

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