forked from 0x2620/pandora
properly load dates
This commit is contained in:
parent
e1bdc83980
commit
5fcd36480b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue