Comments (5)
I'm also not sure if that logic should make its way down to get_prep_lookup for consistency or not. I can work up another patch if needed.
from django-taggit.
So I actually hit this myself last night, so I want it fixed (you have no idea how confusing it is to see your admin give you a 500, and then realize it's because PHP and php slugify to the same thing). I'm not in love with this solution though, so I'm going to sit on this until I come up with something that pleases me.
from django-taggit.
Yeah, I don't like it either but it was the obvious/quick solution. I'll let you know if I come up with anything better.
from django-taggit.
Fixed in r3dbe8804cf3d791c795a6347f7d92b8f6b2050ad
from django-taggit.
I don't think it makes sense to have tags which differ only in case. It's not even possible on MySQL because it violates the unique constraint on tag name:
IntegrityError: (1062, "Duplicate entry 'LONDON' for key 'taggit_tag_name_6b48d50f_uniq'")
Would you consider an alternative proposal that tags which differ only in case are actually the same tag? That would also meet nookiepl's request on #70.
from django-taggit.
Related Issues (20)
- Test suite fails if unidecode is installed
- Excluding tags in Model Managers causes failures HOT 1
- Wish to have more detail in serializer, looking for tags should be nested with all the items HOT 2
- `tag_kwargs` are not taken into account when `TAGGIT_CASE_INSENSITIVE` is `True`
- TaggedItemBase related_name not filling in %(app_label)s_%(class)s_items since Django 4.2 LTS? HOT 6
- Add support for initialising tags via a list on object creation HOT 1
- Add support for new async api HOT 2
- Getting this error while running tests: 'index_together' is deprecated. Use 'Meta.indexes' in 'taggit.TaggedItem' instead. HOT 5
- tag entered in Cyrillic be displayed in Latin
- Tag Ordering Inconsistent HOT 4
- Tags longer than 100 chars raise 500 error HOT 15
- Django Taggit 5.0 is not compatible with Django <4.1 HOT 4
- RTD builds are broken HOT 1
- Multiple queries when adding tags HOT 3
- Reverse query name for 'XXX' clashes
- New 5.0.0 migrations fails: Found wrong number (0) of indexes HOT 3
- DRF - Incorrectly processed Tag input string HOT 2
- Cannot query using tags__name__in HOT 1
- Ticket objects need to have a primary key value before you can access their tags HOT 1
- Add Django 5.0 Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-taggit.