Commit graph

21 commits

Author SHA1 Message Date
Alexandr Artemyev
3640eb228a
Replace pickle with JSON (#564)
* Replace pickle with JSON

Co-authored-by: Ivan Klass <klass.ivanklass@gmail.com>
2024-08-20 09:35:27 -05:00
Alexandr Artemyev
57083bbed2
Add ruff format & lint (isort only) (#560) 2024-07-03 19:21:33 +05:00
James Tiplady
6a5052e9f4
Adding support for using a subdirectory of MEDIA_ROOT for file fields (#475)
* Adding support for using a subdirectory of MEDIA_ROOT for file fields with CONSTANCE_FILE_ROOT setting

* Improving documentation for CONSTANCE_FILE_ROOT

* Updating PR branch to work with latest master
2023-07-29 11:35:38 -05:00
horpto
8b34b63fd0
Add caching redis backend (#466)
* Add caching redis backend

* fix mget implementation

* fix lock
2022-01-06 15:45:11 -05:00
Elisey Zanko
b62206da57 Resolve #367: Set pickle protocol version for the Redis backend (#369) 2020-01-14 15:46:27 -05:00
Camilo Nova
90bf97c0a9 Improved coding styles 2016-09-14 12:21:43 -05:00
Farooq Azam
80d5fb5954 Added support for fieldsets. 2016-08-22 02:45:57 +05:00
Francesc Arpi
1b9458c74b Added CONSTANCE_IGNORE_ADMIN_VERSION_CHECK settings option to ignore the version protection. When you use django-constance on a cloud platform, with several machines, giving you problems by keeping the machine does not have to be the same which has served constant form. 2016-03-01 17:37:35 +01:00
Petr Dlouhý
12245b0f71 allow to override field config_type and set custom additional fields 2015-06-14 17:34:53 +02:00
Jannis Leidel
fc930442a2 Simplified settings. 2014-11-25 22:20:06 +01:00
Jannis Leidel
69221ba2b4 Renamed config module to base to prevent ambiguity
This should fix #80 that is triggered by Django's new strickter import time loading process.
2014-11-21 20:16:39 +01:00
Jannis Leidel
8b0ed361d6 Added database cache autofill feature.
This refs #47 and #45.
2014-11-21 20:08:20 +01:00
Jannis Leidel
90da7981e5 Please the PEP8 gods. 2013-04-12 17:39:10 +02:00
Jannis Leidel
a8b158ad1c Fixed the prefix handling. 2013-02-21 19:33:12 +01:00
Jannis Leidel
e9d937be5a Added ability to prefix database values. Fixes #24. 2013-02-21 19:27:56 +01:00
Jannis Leidel
c2c64f7d44 Add note about the new CONSTANCE_SUPERUSER_ONLY setting. 2013-02-21 18:51:21 +01:00
Janusz Harkot
e7d4d5e860 option to allow non-superusers to update settings 2012-09-03 02:28:31 +02:00
Jannis Leidel
3ef39d9185 Enabled database backend to properly require a cache backend that works in cross-process environments. This adds an optional setting CONSTANCE_DATABASE_CACHE_BACKEND. 2010-12-11 16:43:31 +01:00
Jannis Leidel
b1c2847997 Renamed redis backend module to redisd to prevent import conflicts with redis-py. 2010-12-03 07:36:25 +01:00
Jannis Leidel
82e19cec9f Refactored backend system slightly to have a nicer directory structure. Using the database backend now only requires to add 'constance.backends.database' to INSTALLED_APPS and setting CONSTANCE_BACKEND to 'constance.backends.database.DatabaseBackend'. Also reverted default backend to being the Redis backend. 2010-12-01 19:29:53 +01:00
Jannis Leidel
eea0d2fdf9 Abstracted constance backends to and added a cached database backend. Moved around the settings code and simplified the module loading. 2010-12-01 00:20:23 +01:00