Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

> 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.



Why 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


Honestly never really thought about it much. Wouldn’t that lead to accidentally duplicate URLs in the eyes of things like PageRank?


No. That’s why you embed a canonical url meta tag.


If you use mysql, a lot of things end up being case-insensitive by default. Not necessarily recommending it though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: