Closed chrisdevilliers closed 1 month ago
I can confirm this. Seems that the static files like 'tagulous/tagulous.js'
are not in HTML.
The Problem is in tagulous.forms.AdminTagWidget.media
and accessing AutocompleteMixin.media
Sadly: errors in media property are silent! Seems that the existing tests doesn't cover this.
EDIT: I now see that a PR already exists: https://github.com/radiac/django-tagulous/pull/158
EDIT2: The bad thing is: tagulous.forms.AdminTagWidget.media
raised an (silent) error and this avoids loading all Media collections from other parts!
@radiac Could you please take a look at this issue and the provided PRs? We have to add a lot of unstable workaround code to circumvent this issue, which is not a nice experience.
@radiac The fix was merged, but there is no new release made since the merge, isn't it? Can you please create a new release?
EDIT: Oh https://github.com/radiac/django-tagulous/pull/167 is still not merged :(
This is now fixed in v2.0 - thanks for your patience everyone!
I am unable to get autocomplete working in the admin interface on Django 4. To recreate the issue, follow the
README.rst
from theexample/
directory:3.2
with4.0
in the linepip install "Django~=3.2"
.url
withre_path
inexample/urls.py
and change the import line tofrom django.urls import re_path
.The
Title
,Skills
andHobbies
fields are normal text input widgets instead of the Javascript dropdown with autocomplete feature. See the screenshot below:Package versions: