Skip to content
Sections
>> Trisquel >> Packages >> aramo >> python >> python3-django-dynamic-preferences
aramo  ]

Package: python3-django-dynamic-preferences (1.10.1-1)

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.

Other Packages Related to python3-django-dynamic-preferences

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-django (>= 2.2~)
    High-level Python web development framework
  • dep: python3-persisting-theory
    Python utility designed to automate data discovering inside of packages
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

Download python3-django-dynamic-preferences

Download for all available architectures
Architecture Package Size Installed Size Files
all 27.1 kB164 kB [list of files]