We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39edb0 commit 4e269c6Copy full SHA for 4e269c6
nearbyshops/shops/migrations/0002_auto_20181020_0450.py
@@ -23,7 +23,7 @@ def load_data(apps, schema_editor):
23
longitude = obj.get('lon', 0)
24
latitude = obj.get('lat', 0)
25
location = fromstr(f'POINT({longitude} {latitude})',
26
- srid=4326)
+ srid=4326)
27
Shop(name=name, location=location).save()
28
except KeyError:
29
pass
0 commit comments