django-geocoder
django-geocoder copied to clipboard
Enforce need_geocoding check
Avoid calling geocode()
if geocoded_by
is not set, with a guard-condition, like this:
need_geocoding = False
if not self.geocoded_by:
return need_geocoding
https://github.com/cvng/django-geocoder/blob/master/django_geocoder/mixins.py#L14