From e35eb7892b0390a674278786cdd5f767ed723198 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20K=C3=B6gl?= Date: Sat, 27 Apr 2013 13:52:26 +0200 Subject: [PATCH] expect dict-based COUCHDB_DATABASES config --- mygpo/db/couchdb/management/commands/touch-couchdb-views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mygpo/db/couchdb/management/commands/touch-couchdb-views.py b/mygpo/db/couchdb/management/commands/touch-couchdb-views.py index 7608adf9..1d6494f2 100644 --- a/mygpo/db/couchdb/management/commands/touch-couchdb-views.py +++ b/mygpo/db/couchdb/management/commands/touch-couchdb-views.py @@ -25,7 +25,7 @@ class Command(BaseCommand): def handle(self, *args, **options): - db_urls = set(db[1] for db in settings.COUCHDB_DATABASES) + db_urls = set(db['URL'] for db in settings.COUCHDB_DATABASES.values()) filters = [] -- 2.11.4.GIT