django-leaflet-storage icon indicating copy to clipboard operation
django-leaflet-storage copied to clipboard

fix bug: admin throws json exception when we edit the map

Open changyanjie opened this issue 8 years ago • 0 comments
trafficstars

  It will throw an Json.loads exception when we are editing the map with the admin. I think it's because of the to_python function , so I'd like to convert the value to string with json.dumps and keep it same as django.
 
 The aim to add "ensure_ascii=False" is to save original value to database.

changyanjie avatar Feb 20 '17 17:02 changyanjie