3 ms·
> Django’s auth system doesn’t enforce case-insensitive uniqueness of usernames Their routing (for URLs) is also not case-insensitve. The whole framework by de
by lettergram 9y ago
> Django’s auth system doesn’t enforce case-insensitive uniqueness of usernames
Their routing (for URLs) is also not case-insensitve. The whole framework by default is case sensitive. Honestly, kind of annoying.
- frankwiles 9y agoHonestly never really thought about it much. Wouldn’t that lead to accidentally duplicate URLs in the eyes of things like PageRank?
- ronnier 9y agoNo. That’s why you embed a canonical url meta tag.
- craigds 9y agoWhy would you need case insensitivity in URLs by default? I can imagine you might in the odd view here and there, though in ten years of django usage I don't think I've needed to do so
- collinmanderson 9y agoIf you use mysql, a lot of things end up being case-insensitive by default. Not necessarily recommending it though.