You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tag_kwargs are not taken into account when case insensitivity is turned on, while they are when it is off.
For cases like #809 that would result in already existing tags, with the same name, from other users/tenants being used instead of creating a new one.
When case insensitivity is turned off, this will work as expected as the tag_kwargs are used in the filter to check for existing tags.
tag_kwargs
are not taken into account when case insensitivity is turned on, while they are when it is off.For cases like #809 that would result in already existing tags, with the same name, from other users/tenants being used instead of creating a new one.
When case insensitivity is turned off, this will work as expected as the
tag_kwargs
are used in the filter to check for existing tags.In
_TaggableManager._to_tag_model_instances
:django-taggit/taggit/managers.py
Lines 221 to 238 in 63c9a97
If I change the get call on line 229 to
get(name__iexact==name, **tag_kwargs)
it works the same for both cases.The text was updated successfully, but these errors were encountered: