feat: Use real geo api by default

This commit is contained in:
2024-05-31 12:05:45 +02:00
parent 6b8f223754
commit 6799dbe901
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ def add_adoption_notice(request):
instance = form.save()
"""Search the location given in the location string and add it to the adoption notice"""
geo_api = GeoAPI(debug=True)
geo_api = GeoAPI()
location = geo_api.get_location_from_string(instance.location_string)
instance.location = location
instance.save()