/django-xlivesettings

bkroeze's django-livesettings fork

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

django-xlivesettings

  1. Synopsis
  2. Main differences
  3. Installation
  4. Usage
  5. Dependensies
  6. How does it look
  7. Tabs
  8. Localized strings

Synopsis

django-xlivesettings is a fork of django-livesettings provided by bkroeze. Why X? Because it's eXtra. Firstly it was forked on Bitbucket and then moved to GitHub.

Main differences

  • Django 1.5 support.
  • Little model definition fix.
  • Code is more adapted for I18N.
  • Settings groups are displayed via jQuery tabs.
  • Localized strings support added.

Installation

You can install either as PyPi package:

pip install django-xlivesettings

or from your local sources:

python setup.py install

Dependensies

As this is a fork of another project, it inherits primary dependencies:

  1. django-keyedcache

No new dependencies were added.

Usage

# TODO:

How does it look

  1. Tabs
  2. Localized strings

Tabs

Test-project example: Tabs example Real project example (flavoured with Grappelli): Tabs example with Grappelli

Localized strings

You can view a kind of presentation on Slideshare (strictly talking, it's a group of screenshots). It shows, that you can set localized string values for settings keys. Target laguages are specified by LANGUAGES in project's settings file.