Camilo Nova
bebc279edc
Send the config parameter as sender for the signal
2016-09-15 09:24:30 -05:00
Camilo Nova
1d746c080f
Rename signal to config_updated
2016-09-14 14:53:52 -05:00
Camilo Nova
395efc992f
☀️ Moved the signal to its own file to avoid import errors
2016-09-14 14:50:39 -05:00
Camilo Nova
94fabdf7c3
Added signal on change, refs #158
2016-09-14 12:22:32 -05:00
Jan Nakladal
e95f372b2f
autofill cache if key si missing.
2016-07-12 16:31:11 +12:00
Maxim Filipenko
1b6730d2c5
Invalidate cache
2016-06-03 17:40:32 +03:00
Jannis Leidel
19109b98bc
Merge remote-tracking branch 'vinnyrose/compat_changes'
2015-09-24 11:02:45 +02:00
Mario Rosa
e1f9e52a08
Compatibility changes.
...
Drop python 2.6, 3.2
Drop Django 1.4, 1.5, 1.6
Remove models.py under constance and move to an appconfig imported file.
2015-08-25 08:14:01 -04:00
Dan Poirier
b44f5f5409
Some fixes for recent Djangos
...
* Add Django 1.8 to test environments in tox.ini
* Update python versions supported by Django master in tox.ini
* Don't load 'url' from template library 'future' - it is no longer
available in Django master, and is not needed in Django 1.4 and later,
which is as far back as django-constance tests
* get_cache dropped from Django master
* post_syncdb signal dropped
* django.utils.importlib dropped
There are still errors on some environments that I didn't try to
address:
* coverage seems broken on py32
* django-master seems currently broken on py27 (non-ASCII character
somewhere,
I expect django-master will be fixed soon since they still claim py27
support)
* django14 seems broken: "NoReverseMatch: u"'admin" is not a registered
namespace"
2015-08-07 08:14:26 -04: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
51c25f5208
Fix an import error on Django master.
2014-11-21 17:48:40 +01:00
Pierre-Olivier Marec
a72603800e
Fixed discard cache on set value (key prefix was missing)
2013-12-16 17:24:16 +01:00
Jannis Leidel
90da7981e5
Please the PEP8 gods.
2013-04-12 17:39:10 +02:00
Bouke Haarsma
847ba5a060
Robust key fetching
...
Fixes #31
2013-03-19 11:38:37 +01: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
Janusz Harkot
6dfbb7e462
remove unused import
2012-09-03 02:25:14 +02:00
Marcin Baran
647a8627c0
Fix DatabaseBackend clear
2011-09-21 22:18:05 +08: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
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