From a73244bcdb4e20fc7c9b92e589baea430ecb3409 Mon Sep 17 00:00:00 2001 From: Chris Sattinger Date: Wed, 6 Dec 2023 12:50:11 +0100 Subject: [PATCH] Fix jQuery version --- ajax_select/fields.py | 2 +- example/example/settings.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ajax_select/fields.py b/ajax_select/fields.py index 8525db736e..7c08ceed4f 100644 --- a/ajax_select/fields.py +++ b/ajax_select/fields.py @@ -27,7 +27,7 @@ def _media(self): ) if bootstrap: js = [ - "ajax_select/vendor/jquery.3.5.1.min.js", + "ajax_select/vendor/jquery-3.7.1.min.js", "ajax_select/vendor/jquery-ui-1.13.2/jquery-ui.min.js", "ajax_select/js/ajax_select.js", ] diff --git a/example/example/settings.py b/example/example/settings.py index 72869341fa..302f95030c 100644 --- a/example/example/settings.py +++ b/example/example/settings.py @@ -47,10 +47,7 @@ 'song': ('example.lookups', 'SongLookup'), } -# By default will use window.jQuery -# or Django Admin's jQuery -# or load one from google ajax apis -# then load jquery-ui and a default css +# By default will use the included jquery and jquery-ui files. # Set this to False if for some reason you want to supply your own # window.jQuery and jQuery UI