django-content-gallery
django-content-gallery copied to clipboard
$ is not a function
Which version of Django are you using? Is there jQuery defined?
django==2.0.4 It's so strange, library connected but not defined.
No ideas?)
django.__version__ == '2.1.1'
I tried to repair. First you need to change one string in
%env%/lib/python%ver%/site-packages/content_gallery/static/content_gallery/js/content-gallery-view.js (.min without debug)
})(jQuery);
to
})(django.jQuery);
no more errors in console but still no draggable images to delete. Now i will try to fix this. Write later if need
@jenia0jenia Better if you fix it in repo, thanks a lot!