| 1 |
Source: django-dynamic-preferences |
| 2 |
Maintainer: Debian Python Team <[email protected]> |
| 3 |
Uploaders: Tom Teichler <[email protected]>, Dominik George <[email protected]> |
| 4 |
Section: python |
| 5 |
Priority: optional |
| 6 |
Build-Depends: |
| 7 |
debhelper-compat (= 13), |
| 8 |
dh-sequence-python3, |
| 9 |
python3-all, |
| 10 |
python3-django, |
| 11 |
python3-setuptools, |
| 12 |
Rules-Requires-Root: no |
| 13 |
Standards-Version: 4.6.1 |
| 14 |
Homepage: https://github.com/agateblue/django-dynamic-preferences |
| 15 |
Vcs-Git: https://salsa.debian.org/python-team/packages/django-dynamic-preferences.git |
| 16 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/django-dynamic-preferences |
| 17 |
|
| 18 |
Package: python3-django-dynamic-preferences |
| 19 |
Architecture: all |
| 20 |
Depends: ${misc:Depends}, ${python3:Depends} |
| 21 |
Description: Dynamic global and instance settings for your django project |
| 22 |
Dynamic-preferences is a Django app, BSD-licensed, designed to help you |
| 23 |
manage your project settings. While most of the time, a settings.py file is |
| 24 |
sufficient, there are some situations where you need something more flexible |
| 25 |
such as: |
| 26 |
. |
| 27 |
* per-user settings (or, generally speaking, per instance settings) |
| 28 |
* settings change without server restart |
| 29 |
. |
| 30 |
For per-instance settings, you could actually store them in some kind of |
| 31 |
profile model. However, it means that every time you want to add a new |
| 32 |
setting, you need to add a new column to the profile DB table. Not very |
| 33 |
efficient. |
| 34 |
. |
| 35 |
Dynamic-preferences allow you to register settings (a.k.a. preferences) in |
| 36 |
a declarative way. Preferences values are serialized before storage in |
| 37 |
database, and automatically deserialized when you need them. |
| 38 |
. |
| 39 |
With dynamic-preferences, you can update settings on the fly, through |
| 40 |
django's admin or custom forms, without restarting your application. |