Commit graph

16 commits

Author SHA1 Message Date
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
21344d9168 Added ability to specify the redis connection parameter as an URL. Fixes #26. 2013-02-21 19:00:26 +01:00
Janusz Harkot
6dfbb7e462 remove unused import 2012-09-03 02:25:14 +02:00
Jiri Barton
0d0ab22e88 solved the unique key/index for the database backend 2012-06-05 16:05:14 +02:00
Marcin Baran
647a8627c0 Fix DatabaseBackend clear 2011-09-21 22:18:05 +08:00
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