Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> python >> python3-django-dynamic-preferences
aramo  ]
[ 原始碼: django-dynamic-preferences  ]

套件: 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.

其他與 python3-django-dynamic-preferences 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 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)

下載 python3-django-dynamic-preferences

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 27.1 kB164 kB [文件列表]