4 ms·
Django swappable auth.User models landed in trunk
- condiment 14y agoThe documentation for the feature is near the bottom of the commit. This is a really great addition. Every non-trivial Django project I've ever worked on has required extending the user model using both the bolted-on AUTH_USER_PROFILE pattern and hacked together middleware in order to support email-based logins. While there's a bit of possible backwards-incompatibility with my hacks, it looks like this change addresses both pain points.
- jspiral 14y agoYup, then some south hack to make usernames longer than 30 characters...
- kmfrk 14y agoIt looks like the good stuff is from here: https://github.com/django/django/commit/70a0de37d132e5f1514fb939875f69649f103124/#diff-49 https://github.com/django/django/commit/70a0de37d132e5f1514f.... It's been weird to get into Django and see hacky solutions like the UserProfile/get_profile() stuff (and django-registration and South being required for most purposes), and it's great to see this make it into Django.