Commits

Yohan Boniface committed 7070973

Old options have to go in _storage_options key (cf yohanboniface/Leaflet.Storage#62)

Comments (0)

Files changed (1)

leaflet_storage/base_models.py

 
     def to_geojson(self):
         # transitional method
-        properties = self.options
+        properties = {'_storage_options': self.options}
         properties.update({
             'name': self.name,
             'description': self.description,