A django app for registering dynamic global, site and user preferences
Project description
# What is dynamic-preferences ?
Dynamic-preferences is a Django app designed to manage your project settings. While most of the time, a settings.py file is sufficient, there are some situations where you need something more flexible, such as per-user settings and per-site settings.
For per-user settings, you could actually store them in UserProfile. However, it means that every time you want to add a new setting, you need to add a new column to the UserProfile DB table. Not very efficient.
Dynamic-preferences allow you to register settings (a.k.a. preferences) in a declarative way, for users, sites and your whole project. Preferences values are serialized before storage in database, and automatically deserialized when you want to access them.
With dynamic-preferences, you can update settings on the fly, through django’s admin or custom forms, without restarting your application.
Links:
- [Project page](http://code.eliotberriot.com/eliotberriot/django-dynamic-preferences)
- [Documentation](http://django-dynamic-preferences.readthedocs.org)
- [PyPi package](https://pypi.python.org/pypi/django-dynamic-preferences)
# License
The project is licensed under BSD licence.
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django-dynamic-preferences-0.2.3.tar.gz (16.8 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Hashes for django-dynamic-preferences-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81b5a32eaafa199c8f6b1e317c94eedd540d79aa16457196780c0f501ee94b38 |
|
MD5 | c9924b0705126f9cb4da6682861a40ba |
|
BLAKE2-256 | 478cccb7340ece9ce164d632051cf0ddb6e2ef5923f07e053e5a724a33bf13e9 |