properly load dates

This commit is contained in:
j 2011-08-16 17:36:35 +02:00
parent e1bdc83980
commit 5fcd36480b

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: