makinacorpus / django-geojson

django-geojson is a collection of helpers to (de)serialize (Geo)Django objects into GeoJSON.
GNU Lesser General Public License v3.0
259 stars 69 forks source link

'Shop' object has no attribute 'geom' #103

Closed surksha closed 4 years ago

surksha commented 4 years ago

def map_dataset(request): data=serialize('geojson',Shop.objects.all()) return HttpResponse(data,content_type='json')