Rework the Add Store to use clientside geocoding.

This commit is contained in:
2013-04-01 17:17:31 +01:00
parent ec6a2accc3
commit 036d70ce98
5 changed files with 48 additions and 5 deletions

View File

@@ -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):