question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Having issues with upgrade to Django 2.0

See original GitHub issue

Might 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
erdemcommented, Feb 25, 2018

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 with pip 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

4reactions
erdemcommented, May 8, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found