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.

Django 1.9 moved jQuery scripts

See original GitHub issue

Django 1.9 has moved jQuery scripts from django/contrib/admin/static/admin/js to django/contrib/admin/static/admin/js/vendor/jquery. If USE_DJANGO_JQUERY is set to True, will get HTTP 404 Not Found in Django 1.9:

https://github.com/digi604/django-smart-selects/blob/e0112d1c5313a78fa34312ae9d36751a86183e90/smart_selects/widgets.py#L51:L56

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
SalahAdDincommented, Feb 14, 2016

Yes, i have the same problem: seleccion_129

I solve this putting:

{% block extra_css %}
    <!-- TODO: Delete this if Smart-Selects solve this problem -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
{% endblock %}

But, isn’t the best way! And didn’t solved the admin problem.

0reactions
blagcommented, Oct 13, 2016

Fixed in #137, which should be merged shortly. I’m closing this, but feel free to comment/reopen if necessary.

Read more comments on GitHub >

github_iconTop Results From Across the Web

on change function of jquery not working in Django form
I am building a django form like following: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...
Read more >
jquery.js not found in the admin jobs list page in Django 1.9
I see 404 Error near the jquery.js url, and JS doesn't works. In the Django 1.9: The jQuery static files in contrib.admin have...
Read more >
Django 1.9 release notes
AbstractBaseUser and BaseUserManager were moved to a new django.contrib.auth.base_user module so that they can be imported without including ...
Read more >
18. JQuery and Django — How to Tango with Django 1.7
Including JQuery in your Django Project/Application. In the static folder create a js folder and plonk the JQuery javascript file (jquery. js) here...
Read more >
Release Notes — django-ajax-selects 1.4.0 documentation
Inline scripts moved out of html. Form fields are activated after the body is loaded with plugin settings stored in the field's data-plugin-options....
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