Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been using custom User models for over a month, and I can tell you that using a profile model is far nastier.

Besides avoiding a join in the DB (or worse, a separate select), being able to override user model methods has been an incredible benefit to my projects.



Yeah I've been using them for about a month too and all I can say is, this is how it should have always been.

The docs give you a pretty good starting point for a fully functional user model, and jarcoal (above) outlines a simple method for migrating from old to new.




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

Search: