Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-dbpreferences

How to install django-dbpreferences

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-dbpreferences
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4.5.0803 Available View build log
0.4.4.1012 Available View build log
0.4.3.0829 Available View build log
0.4.2.0714 Available View build log
0.4.1.0516 Available View build log
0.4.0.0414 Available View build log
0.3.5.git-791ba6f Available View build log
0.3.4.git-ff5f7d2 Failed View build log
0.3.4.git-c57b020 Available View build log
Windows (64-bit)
0.4.4.1012
0.4.5.0803Never BuiltWhy not?
0.4.4.1012 Available View build log
0.4.3.0829 Available View build log
0.4.2.0714 Available View build log
0.4.1.0516 Available View build log
0.4.0.0414 Available View build log
0.3.5.git-791ba6f Available View build log
0.3.4.git-ff5f7d2 Failed View build log
0.3.4.git-c57b020 Available View build log
Mac OS X (10.5+)
0.4.5.0803 Available View build log
0.4.4.1012 Available View build log
0.4.3.0829 Available View build log
0.4.2.0714 Available View build log
0.4.1.0516 Available View build log
0.4.0.0414 Available View build log
0.3.5.git-791ba6f Available View build log
0.3.4.git-ff5f7d2 Failed View build log
0.3.4.git-c57b020 Available View build log
Linux (32-bit)
0.4.5.0803 Available View build log
0.4.4.1012 Available View build log
0.4.3.0829 Available View build log
0.4.2.0714 Available View build log
0.4.1.0516 Available View build log
0.4.0.0414 Available View build log
0.3.5.git-791ba6f Available View build log
0.3.4.git-ff5f7d2 Failed View build log
0.3.4.git-c57b020 Available View build log
Linux (64-bit)
0.4.5.0803 Available View build log
0.4.4.1012 Available View build log
0.4.3.0829 Available View build log
0.4.2.0714 Available View build log
0.4.1.0516 Available View build log
0.4.0.0414 Available View build log
0.3.5.git-791ba6f Available View build log
0.3.4.git-ff5f7d2 Failed View build log
0.3.4.git-c57b020 Available View build log
 
Author
Depended by
Lastest release
version 0.4.5.0803 on Nov 20th, 2012

description

With django-dbpreferences you can store some app/user preferences into the database.

A django app defines a form with initial values. The form cleaned data dict would be stored serialized into the database. The app can easy get the current preference dict and the user can easy edit the values in the django admin panel.

With UserSettings you can store some settings per user.

More Information and examples can be found here:

Tested with django 1.3 and django 1.4

history

  • v0.4.5

  • v0.4.4

    • Add south support (if installed)
    • tests can be run with ./setup.py test
    • add german translations
  • v0.4.3

  • v0.4.2

    • Bugfix: Add templates to pypi package
  • v0.4.1

    • Bugfix with BooleanField
  • v0.4.0

    • NEW: Use initial data, if not exist in saved preferences. So it’s easier to add new preferences values.
  • v0.3.8

    • Bugfix in error message for not existing keys
  • v0.3.7

    • Change version scheme and add last git commit date to version string
  • v0.3.6

    • Display current value on ValidationError
  • v0.3.5

    • Updates for django v1.2 API changes
  • v0.3.4

    • Bugfix if help_text contains non ascii characters and html code
  • v0.3.3

    • validate preferences with model validation
    • clean preferences in get_preferences()
  • v0.3.2

    • some bugfixes
  • v0.3.1

    • Bugfix if DictField can be null / DictFormField(required=False)
  • v0.3.0

    • separate field stuff from models.py into fields.py, so its usable in other projects, too.
    • Use own dict class for serialize/deserialize
    • Update unittest for new django admin url prefix
  • v0.2.0

  • v0.1.0

pip upgrade

To do a pip upgrade in a virtual environment, run this:

~$ cd /YourVirtualEnv/bin
~/YourVirtualEnv/bin$ source activate
(YourVirtualEnv)~/YourVirtualEnv/bin$ pip install --upgrade --verbose --editable=git+git://github.com/jedie/django-dbpreferences.git#egg=django-dbpreferences

The example used git readonly clone url. If you use subversion do this:

(YourVirtualEnv)~/YourVirtualEnv/bin$ pip install --upgrade --verbose --editable=http://svn.github.com/jedie/django-dbpreferences.git#egg=django-dbpreferences

If you have git write access, use this:

(YourVirtualEnv)~/YourVirtualEnv/bin$ pip install --upgrade --verbose --editable=git+git@github.com:jedie/django-dbpreferences.git#egg=django-dbpreferences

fast repo update

To made a fast repository update, you can run this simple shell script:

~$ cd /path/to/django-dbpreferences
/path/to/django-dbpreferences$ ./update.sh

the update script runs “git pull origin master” or “svn update”.

donation

If you like it, send some Bitcoins to 1HLNVtZFwdHLavRKdUebTGHVn8A7e6Dgne ;)

Subscribe to package updates

Last updated Nov 20th, 2012

Download Stats

Last month:9

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.