Commit graph

31 commits

Author SHA1 Message Date
Jannis Leidel
52cbce7a08 Stop requiring six as a depdendency.
This is possible now that we require at least a version of Django that ships with six.

Signed-off-by: Jannis Leidel <jannis@leidel.info>
2014-11-27 17:53:01 +01:00
Jannis Leidel
fc930442a2 Simplified settings. 2014-11-25 22:20:06 +01:00
Jannis Leidel
cd05239626 Because computers. 2014-11-21 21:19:14 +01:00
Jannis Leidel
6e2c4503e5 Moved South migrations out of the way and added Django migrations. 2014-11-21 20:21:17 +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
51c25f5208 Fix an import error on Django master. 2014-11-21 17:48:40 +01:00
Yin Jifeng
498d9f7b3e fix basestring in python 3 2014-04-01 13:35:40 +08:00
Pierre-Olivier Marec
a72603800e Fixed discard cache on set value (key prefix was missing) 2013-12-16 17:24:16 +01:00
Les Orchard
ae92c447ec Migration tweak to fix a failure in switching column types for key 2013-07-30 16:04:44 -04:00
Jannis Leidel
90da7981e5 Please the PEP8 gods. 2013-04-12 17:39:10 +02:00
Jannis Leidel
36a9c23500 More py3k changes. 2013-04-12 17:34:48 +02:00
Bouke Haarsma
847ba5a060 Robust key fetching
Fixes #31
2013-03-19 11:38:37 +01:00
Jannis Leidel
5c039e5744 Added South migration to make the key field an unique CharField. 2013-03-02 15:46:42 +01:00
Jannis Leidel
1e2e902061 Added initial South migration. 2013-03-02 15:44:19 +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
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