Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read properties of undefined (reading 'window.django.jQuery') #313

Open
SukiCZ opened this issue Feb 27, 2024 · 0 comments

Comments

@SukiCZ
Copy link

SukiCZ commented Feb 27, 2024

Hi and thanks for an awesome library 😺

I've run into an issue when using django-ajax-select outside of Django Admin after upgrading to 3.0.1+

image

The issue is Uncaught TypeError: Cannot read properties of undefined (reading 'jQuery') as window.django is undefined. Issue can be reproduced with the /example folder.

The issue can be fixed by including a admin/js/jquery.init.js to form.media.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant