Giter Site home page Giter Site logo

Comments (5)

mcroydon avatar mcroydon commented on August 16, 2024

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.

alex avatar alex commented on August 16, 2024

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.

mcroydon avatar mcroydon commented on August 16, 2024

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.

alex avatar alex commented on August 16, 2024

Fixed in r3dbe8804cf3d791c795a6347f7d92b8f6b2050ad

from django-taggit.

qris avatar qris commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.