springload / madewithwagtail

A showcase of sites and apps made with Wagtail CMS, the easy to use, open source Django content management system
http://madewithwagtail.org
MIT License
85 stars 21 forks source link

Able to create the same tag with different case #63

Open matheusbrat opened 7 years ago

matheusbrat commented 7 years ago

Even with TAGGIT_CASE_INSENSITIVE it is possible to create the same tag with multiple case, if you go to a Page and add two new tags (which doesn't exist on database) as test1234 and TEST1234 and save your page, both tags will be created and the page will be saved.

If you try to edit this page later, it will raise an error MultipleObjectsReturned

Use of TAGGIT_CASE_INSENSITIVE is misleading #448

loicteixeira commented 6 years ago

django-taggit doesn't seem very interested in tackling the issue. We might need to submit a PR ourselves.