Hi Tobias, On 11/18/2014 11:44 AM, Tobias Dacoir wrote: > Dear Daniel and Carl, > > thanks for your advice. However I'm a bit confused now. So in general > you recommend that I follow the guide for substituting my own custom > model but at the same time Carl is warning me that overwriting > AUTH_USER_MODEL is quite painful for an existing application (right now > I haven't really done much except basic Models and some Views and > Forms), but as I read the guide that is exactly what I have to do when > using my own custom Model.
I thought you were at the beginning of a new project. If you are still in development, and don't have data in your database that you care about yet, adding AUTH_USER_MODEL is simple: drop your database, delete all your migrations, re-create all your initial migrations, and run them on a brand new database. > I will still try to get it to work somehow. Are all the tutorials found > on the internet for Django 1.5 still valid with 1.7? That would be an ambitious claim to make :-) Since migrations are new in 1.7, anything from an earlier version relating to database creation or modification (syncdb, migrate, etc) is no longer accurate. Carl
signature.asc
Description: OpenPGP digital signature

