všetky možnosti
trixie  ] [  sid  ]
[ Zdroj: django-dynamic-preferences  ]

Balík: python3-django-dynamic-preferences (1.17.0-1)

Odkazy pre python3-django-dynamic-preferences

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík django-dynamic-preferences:

Správcovia:

Externé zdroje:

Podobné balíky:

Dynamic global and instance settings for your django project

Dynamic-preferences is a Django app, BSD-licensed, designed to help you 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 (or, generally speaking, per instance settings)
 * settings change without server restart

For per-instance settings, you could actually store them in some kind of profile model. However, it means that every time you want to add a new setting, you need to add a new column to the profile DB table. Not very efficient.

Dynamic-preferences allow you to register settings (a.k.a. preferences) in a declarative way. Preferences values are serialized before storage in database, and automatically deserialized when you need them.

With dynamic-preferences, you can update settings on the fly, through django's admin or custom forms, without restarting your application.

Ostatné balíky súvisiace s balíkom python3-django-dynamic-preferences

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť python3-django-dynamic-preferences

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 35.5 kB186.0 kB [zoznam súborov]