diff --git a/auction/views.py b/auction/views.py index c78f33a..d8d16ab 100644 --- a/auction/views.py +++ b/auction/views.py @@ -33,12 +33,7 @@ class InquiryCreateView(CreateView): return reverse("auction:process_inquiry", args=(self.object.uuid,)) def clean_destination_coords(self): - lat = self.request.POST.get("destination_lat", "") - lon = self.request.POST.get("destination_lon", "") - - if (not lat) or (not lon): - lat, lon = name_to_coords(self.request.POST.get("destination_name")) - + lat, lon = name_to_coords(self.request.POST.get("destination_name")) return Point(lon, lat) class InquiryProcessView(InConstructionMixin, UpdateView): diff --git a/templates/frontend/index.html b/templates/frontend/index.html index 7fcbc52..aa4a31f 100644 --- a/templates/frontend/index.html +++ b/templates/frontend/index.html @@ -60,8 +60,6 @@