Commit graph

19 commits

Author SHA1 Message Date
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
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
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
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
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
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
d6e9521ffb Added __unicode__ to Constance model. 2010-12-03 20:36:56 +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