Skip to main content

A django app for registering dynamic global, site and user preferences

Project description

# What is dynamic-preferences ?

Dynamic-preferences is a Django app designed to 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 and per-site settings.

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

Dynamic-preferences allow you to register settings (a.k.a. preferences) in a declarative way, for users, sites and your whole project. Preferences values are serialized before storage in database, and automatically deserialized when you want to access them.

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

Links:

# License

The project is licensed under BSD licence.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-dynamic-preferences-0.2.2.tar.gz (16.7 kB view details)

Uploaded Source

File details

Details for the file django-dynamic-preferences-0.2.2.tar.gz.

File metadata

File hashes

Hashes for django-dynamic-preferences-0.2.2.tar.gz
Algorithm Hash digest
SHA256 59efbdb37948735a313057b4077859abfe35308acc6d5d3f72647dfe96c76343
MD5 4aa5d7c527035809806cf336f76c7c20
BLAKE2b-256 bfb59522ad9727fe0fe6ceae93af5598d263d60f2b80168b4904342e14a0c05f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page