django-tagulous
django-tagulous copied to clipboard
Select2 initialiser broken with Django 4.1
It seems that select2-4.js
code is not compatible with Django 4.1:
I am also wandering to get help using latest tagulous with django 4.2 and python 3.10 i am copying and parsing all the fields in a form to tagsfield as tags code is working fine tags are getting saved and associated to posts also and also can see the association of posts in tagulous admin interface but the issue is tagfields of posts remain empty no tags at all even if i try to edit the post it shows no tags bit admin panel shows tags. Even initial tags are not showing up in tagsfield after save or post
And i am also facing exactly the same issue with taggit too.
There have been some significant changes to the Django form rendering system, I suspect that's something to do with it. I'm hoping to get some time next week to take a look at what has gone wrong.
@radiac
The problem is in AdminTagWidget.media
.
media = AutocompleteMixin.media.fget(None)
is now throwing exception, because they do not calculate i18n_name
name on the fly, instead they are doing that in __init__
.
Can you fix this? Thanks
Brilliant, thanks for the detective work, that'll help! Hoping to get to this next week.