django-geoposition
django-geoposition copied to clipboard
Default values not working
The map will always center first on [0, 0] when creating a new item, while ignoring the default value assigned to the field.
I confirm the issue.
>>> ad.position
Geoposition(48.4514945881,35.0673925827)
>>> ad.position = None
>>> ad.position
Geoposition(0,0)
>>> # None expected
Works for me. In my model : location = GeopositionField(default='45.75,4.83')