properly load dates

This commit is contained in:
j 2011-08-16 17:36:35 +02:00
parent 82b272006a
commit 861360b9e1

View file

@ -233,7 +233,7 @@ Positions
def only_p(m): def only_p(m):
r = {} r = {}
if m: if m:
m = json.loads(m) m = json.loads(m, object_hook=ox.django.fields.from_json)
for p in _p: for p in _p:
r[p] = m.get(p, '') r[p] = m.get(p, '')
if 'annotations' in query: if 'annotations' in query: