News for hackers. Stuff that matters.
Re:Configurable User Models in Django 1.5 by gtaylor on Friday November 30, 2012 @04:08PM (#4855447)
I'm really looking forward to using this, but very much dreading getting us migrated over to it. I expect we'll be spending some quality time with south, and lots of mucking with our relational fields.
Re:Configurable User Models in Django 1.5 by dikbrouwer on Friday November 30, 2012 @09:57PM (#4856663)
We recently did this, and it's not that big of a deal. In our case, a 30-line sql script did the job (mostly related to renaming fk fields in other tables, and re-creating indexes and constraints). More than happy to share, although it's very specific to our app of course.
Re:Configurable User Models in Django 1.5 by streeter on Saturday December 01, 2012 @12:06AM (#4856915)
I'd be really interested to hear about the actual migration. That's what I thought this article was going to be about, instead of just how to use the feature.
Re:Configurable User Models in Django 1.5 by amatix on Friday November 30, 2012 @04:12PM (#4855473)
We just went through this... renaming the table is easy via south. The worst part is either ditching your historic south migrations, or rewriting them to be myusers_user, since auth_user (in our case, and typically) wasn't south-managed, so it can't be 'unmanaged'.

Remember to check you can recreate an bare database, or you'll be in for nasty surprises sometime later :)

Re:Configurable User Models in Django 1.5 by silent1mezzo on Friday November 30, 2012 @04:26PM (#4855544)
I'm going to have a blog post going through how to migrate sometime next week. You should subscribe ;)

PS I'm the author of this post.