django-address
django-address copied to clipboard
Admin does not query google
Hi,
we are trying to use your address field to replace our current address model and add google functionality. Our app is a backend drf server When using the django admin to add addresses, we can not get any google functionality. Is this intended for forms only?
Hi @Leikaab! Thanks for reaching out. You can indeed use a Google address widget in the Django Admin. Please take a look in the example site admin file: example_site/person/admin.py
. You'll need to update the admin definition for any model on which you're using an AddressField
to use the AddressWidget
. Hope that helps!
Defining your GOOGLE_API_KEY
in settings is also important.