From 54609b4b7cb354c91fb3b0b9095e1fa6682b1aaa Mon Sep 17 00:00:00 2001 From: David Burke Date: Sun, 17 Aug 2014 15:12:10 -0400 Subject: [PATCH] Allow tests to run on django 1.6+ --- example/cheeseshop/settings.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/example/cheeseshop/settings.py b/example/cheeseshop/settings.py index b13adcf..7d4a7c3 100644 --- a/example/cheeseshop/settings.py +++ b/example/cheeseshop/settings.py @@ -99,6 +99,7 @@ INSTALLED_APPS = ( 'cheeseshop.apps.catalog', 'cheeseshop.apps.storage', 'constance', + 'constance.backends.database', ) CONSTANCE_CONNECTION = { @@ -108,8 +109,10 @@ CONSTANCE_CONNECTION = { } CONSTANCE_CONFIG = { - 'BANNER': ('The National Cheese Emporium', 'name of the shop'), + 'BANNER': ('The National Cheese Emporium', 'name of the shop'), 'OWNER': ('Mr. Henry Wensleydale', 'owner of the shop'), 'MUSICIANS': (4, 'number of musicians inside the shop'), 'DATE_ESTABLISHED': (datetime(1972, 11, 30), "the shop's first opening"), } + +CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'