mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-19 12:49:21 +00:00
Rework the Add Store to use clientside geocoding.
This commit is contained in:
@@ -48,7 +48,11 @@ class AddressForm(BootstrapModelForm):
|
||||
|
||||
class Meta:
|
||||
model = Address
|
||||
exclude = ('name', 'geo_latitude', 'geo_longitude')
|
||||
exclude = ('name',)
|
||||
widgets = {
|
||||
'geo_latitude': forms.widgets.HiddenInput(),
|
||||
'geo_longitude': forms.widgets.HiddenInput(),
|
||||
}
|
||||
|
||||
|
||||
class AddressInline(InlineFormSet):
|
||||
|
||||
Reference in New Issue
Block a user