django-google-maps
django-google-maps copied to clipboard
Google Maps widget hard-codes jquery 3.1.0, conflicts with other imports of jquery
I just tracked down an issue with datepicker-plus not working that turned out to be caused by this line in widgets.py:
'https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js',
This was importing a second (older) copy of jquery, which was conflicting with an earlier import. I've worked around it for now by making a copy of GoogleMapsAddressWidget with that line removed.
thanks @siobahnv - do you know of any good strategies to work around or eliminate this issue in a general purpose kind of way?