Having issues with upgrade to Django 2.0
See original GitHub issueMight be an issue with how I am loading static files. This is the ouput from the JavaScript console when trying to render GooglePointFieldWidget
:
jquery_class.js:72 Uncaught ReferenceError: jQuery is not defined at jquery_class.js:72 django_mw_base.js:202 Uncaught ReferenceError: jQuery is not defined at django_mw_base.js:202 mw_google_point_field.js:102 Uncaught ReferenceError: jQuery is not defined at mw_google_point_field.js:102 127.0.0.1/:308 Uncaught ReferenceError: DjangoGooglePointFieldWidget is not defined at 127.0.0.1/:308 at 127.0.0.1/:312
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to upgrade Django to a newer version
Pay particular attention to backwards incompatible changes to get a clear idea of what will be needed for a successful upgrade. If you're...
Read more >10 Tips for Upgrading to Django 2.0 - Eldarion
This offers the perfect opportunity to share our process and some of the most common issues. Saying Goodbye to Old Django. We recently...
Read more >Django 2.2 Upgrade Issues and Lessons Learned
This is a collection of issues we encountered with the Django 2.2 upgrade and lessons learned from it, especially ones that could have...
Read more >User Authentication always fails after upgrading django from ...
I have a website written in Django, and I recently upgraded from Django 1.11.28 to 2.2.12. Since the upgrade, all user authentication fails....
Read more >How to Leapfrog a Massive Django/Python Upgrade ...
When upgrading to Django 2.0, you only have to update the ... might highlight compatibility issues that relate to the Python 3 upgrade....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys
Thank you for your contributions and feedbacks.
As you mentioned above, the admin jQuery file doesn’t load before mapwidgets static files. Also, there were a few Python 3 compatibility issues as I noticed before. However, I updated
v0.2.0
branch which is not released yet. It’s working with Django 2.0. You can install the prerelease version withpip
from the branch.pip install git+git://github.com/erdem/django-map-widgets.git@v0.2.0
Btw, I added an extra jQuery file to the widget static files. Before that, it was working with django admin jQuery.
I will release the new version soon.
Thanks
Hi @amankumarjain
Unfortunately, I didn’t spare time for this project so long. I need to focus my current job right now. I can’t give you a precise date, but I will try to release ASAP.
Until the new release, your pull-requests are welcome.