Commit graph

10 commits

Author SHA1 Message Date
Jiri Barton
482d8ff78b fixed a serious bug with the default values 2011-09-21 22:17:34 +08:00
Sławek Ehlert
d055821b59 fixed? problem with loads and None values 2011-03-11 12:03:28 +01:00
Jannis Leidel
ada157c7df Fixed a minor issues with redis-py insistence on a args as lists. 2010-12-11 22:42:41 +01: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
1dd0a8b7c9 Added mget method to base backend to fetch all keys in one fell swoop, instead of one by one. Especially useful in the admin. 2010-12-11 16:38:40 +01:00
Jannis Leidel
240ef14015 Refactored prefix handling in redis backend slightly. 2010-12-11 16:32:03 +01:00
Jannis Leidel
d6e9521ffb Added __unicode__ to Constance model. 2010-12-03 20:36:56 +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
028dd17b93 Raise an ImproperlyConfigured exception if the Redis backend is used (default) and redis-py can't be found. 2010-12-01 19:29:58 +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