We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d87a5ad commit 4535c35Copy full SHA for 4535c35
django_select2/forms.py
@@ -155,7 +155,7 @@ def media(self):
155
i18n_file = [f"{settings.SELECT2_I18N_PATH}/{self.i18n_name}.js"]
156
157
return forms.Media(
158
- js=select2_js + i18n_file + ["django_select2/django_select2.js"],
+ js=select2_js + i18n_file + ["admin/js/jquery.init.js"] + ["django_select2/django_select2.js"],
159
css={"screen": select2_css + ["django_select2/django_select2.css"]},
160
)
161
0 commit comments