All Projects → agateblue → Django Dynamic Preferences

agateblue / Django Dynamic Preferences

Licence: bsd-3-clause
Dynamic global and instance settings for your django project

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects
python2
120 projects

Projects that are alternatives of or similar to Django Dynamic Preferences

Dynaconf
Configuration Management for Python ⚙
Stars: ✭ 2,082 (+774.79%)
Mutual labels:  settings, django, configuration
Rails Settings
Manage settings with Ruby on Rails
Stars: ✭ 807 (+239.08%)
Mutual labels:  settings, configuration
Django Admin Interface
django's default admin interface made customizable. popup windows replaced by modals. :mage: ⚡️
Stars: ✭ 717 (+201.26%)
Mutual labels:  settings, django
Ins sandstorm
[INS] Config setting for our sandstorm server
Stars: ✭ 61 (-74.37%)
Mutual labels:  settings, configuration
Dry Configurable
A simple mixin to make Ruby classes configurable
Stars: ✭ 280 (+17.65%)
Mutual labels:  settings, configuration
Senparc.co2net
支持 .NET Framework & .NET Core 的公共基础扩展库
Stars: ✭ 289 (+21.43%)
Mutual labels:  settings, configuration
Laravel Settings
Simple Settings package for a laravel application
Stars: ✭ 45 (-81.09%)
Mutual labels:  settings, configuration
climatecontrol
Python library for loading settings and config data from files and environment variables
Stars: ✭ 20 (-91.6%)
Mutual labels:  settings, configuration
Settings.net
⚙️ Settings.Net - An easy to use .NET library for accessing and storing settings and configurations.
Stars: ✭ 114 (-52.1%)
Mutual labels:  settings, configuration
Configuration
A module to help other modules have settings
Stars: ✭ 135 (-43.28%)
Mutual labels:  settings, configuration
rails-settings-ui
User interface for manage settings in rails application (using rails-settings gem) / Интерфейс для управления настройками в Rails приложении
Stars: ✭ 93 (-60.92%)
Mutual labels:  settings, configuration
Django Settings Export
Access Django settings from templates the right way™
Stars: ✭ 167 (-29.83%)
Mutual labels:  settings, django
gconfigs
gConfigs - Config and Secret parser
Stars: ✭ 42 (-82.35%)
Mutual labels:  settings, configuration
Django Split Settings
Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.
Stars: ✭ 684 (+187.39%)
Mutual labels:  settings, django
config
Config component, strictly typed
Stars: ✭ 14 (-94.12%)
Mutual labels:  settings, configuration
Yamlsettings
Yaml Settings Configuration Module
Stars: ✭ 12 (-94.96%)
Mutual labels:  settings, configuration
cfg-rs
A Configuration Library for Rust Applications
Stars: ✭ 18 (-92.44%)
Mutual labels:  settings, configuration
JsonSettings
This library simplifies creating configuration for your C# app/service by utilizing the serialization capabilities of Json.NET to serialize nested (custom) objects, dictionaries and lists as simply as by creating a POCO and inheriting JsonSettings class.
Stars: ✭ 59 (-75.21%)
Mutual labels:  settings, configuration
Rime pure
【rime小狼毫\trime同文】手机/PC一站式配置【简约皮肤\拼音搜狗词库\原创trime同文四叶草九宫格拼音方案\四叶草拼音、小鹤双拼、极品五笔、徐码、郑码】 rime配置
Stars: ✭ 73 (-69.33%)
Mutual labels:  settings, configuration
Simple Settings
A simple way to manage your project settings.
Stars: ✭ 165 (-30.67%)
Mutual labels:  settings, configuration

============================= django-dynamic-preferences

.. image:: https://badge.fury.io/py/django-dynamic-preferences.png :target: https://badge.fury.io/py/django-dynamic-preferences

.. image:: https://readthedocs.org/projects/django-dynamic-preferences/badge/?version=latest :target: http://django-dynamic-preferences.readthedocs.org/en/latest/

.. image:: https://travis-ci.org/EliotBerriot/django-dynamic-preferences.svg?branch=master :target: https://travis-ci.org/EliotBerriot/django-dynamic-preferences

.. image:: https://travis-ci.org/EliotBerriot/django-dynamic-preferences.svg?branch=develop :target: https://travis-ci.org/EliotBerriot/django-dynamic-preferences

.. image:: https://img.shields.io/codecov/c/github/EliotBerriot/django-dynamic-preferences/master.svg :target: https://codecov.io/github/EliotBerriot/django-dynamic-preferences?branch=master

.. image:: https://opencollective.com/django-dynamic-preferences/backers/badge.svg :alt: Backers on Open Collective :target: #backers

.. image:: https://opencollective.com/django-dynamic-preferences/sponsors/badge.svg :alt: Sponsors on Open Collective :target: #sponsors

.. warning::

There is a critical bug in version 1.2 that can result in dataloss. Please upgrade to 1.3 as
soon as possible and do not use 1.2 in production. See `#81 <https://github.com/EliotBerriot/django-dynamic-preferences/pull/81>`_ for more details.

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.

The project is tested and work under Python 2.7 and 3.4, 3.5 and 3.6, with django >=1.8.

Features

  • Simple to setup
  • Admin integration
  • Forms integration
  • Bundled with global and per-user preferences
  • Can be extended to other models if need (e.g. per-site preferences)
  • Integrates with django caching mechanisms to improve performance

Documentation

The full documentation is at https://django-dynamic-preferences.readthedocs.org.

Changelog

See https://django-dynamic-preferences.readthedocs.io/en/latest/history.html

Contributing

See https://django-dynamic-preferences.readthedocs.org/en/latest/contributing.html

Credits

+++++++

Contributors


This project exists thanks to all the people who contribute!

.. image:: https://opencollective.com/django-dynamic-preferences/contributors.svg?width=890&button=false

Backers


Thank you to all our backers! Become a backer__.

.. image:: https://opencollective.com/django-dynamic-preferences/backers.svg?width=890 :target: https://opencollective.com/django-dynamic-preferences#backers

__ Backer_ .. _Backer: https://opencollective.com/django-dynamic-preferences#backer

Sponsors


Support us by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor__.

.. image:: https://opencollective.com/django-dynamic-preferences/sponsor/0/avatar.svg :target: https://opencollective.com/django-dynamic-preferences/sponsor/0/website

__ Sponsor_ .. _Sponsor: https://opencollective.com/django-dynamic-preferences#sponsor

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].