From 861360b9e1a7db9eda2e780708163a206ed39390 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 16 Aug 2011 17:36:35 +0200 Subject: [PATCH] properly load dates --- pandora/item/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 4be79c4..66a8d6d 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -233,7 +233,7 @@ Positions def only_p(m): r = {} if m: - m = json.loads(m) + m = json.loads(m, object_hook=ox.django.fields.from_json) for p in _p: r[p] = m.get(p, '') if 'annotations' in query: