get_profile is newer than model inheritance I believe. Working with profile is how everybody seems to be doing it, so follow the trend and it'll make every bodies lives easier ;)
If you really want to read more about it, there is loads of chatter on the subject so to avoid reppetition; http://www.google.co.uk/search?q=django+extending+user (granted, lots of it is old) Dougal --- Dougal Matthews - @d0ugal http://www.dougalmatthews.com/ 2009/3/17 ntoll <ntoller...@gmail.com> > > Guys, > > Asking for advice here. > > What is the best way to extend the User class in > django.contrib.auth.models...? > > I could either inherit the class for my own model and add fields / > methods or use get_profile(). Now, whilst I realise that get_profile() > is the official advice it seems a tad out-of-date now that there is > model inheritance (for which get_profile() provided a means of > overcoming). > > Pros/cons of each method? To my mind inheriting from User class is > more elegant... but would love to know your thoughts on this. > > All the best, > > ntoll > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---