Hello, I am currently encountering an issue and have been unable to figure out a solution by myself or through the internet.
Here is what I'm trying to do : I would like to setup profiles for the two different categories of people who are going to run my website (something like teacher/ students; both profiles don't have the exact same fields requirements). Hence, I tried to subclass Django's User class into another class, UserProfile, which is the one that is refered to in settings.py through AUTH_PROFILE_MODULE. I have no problem so far. When I try to create two classes who inherit the UserProfile one, I come up with the following error : 'NoneType' object has no attribute '_default_manager' when trying to access request.user.get_profile(). After reading most of the topics that are related to that error, I'm still unable to figure out where my problem stands. Could it be because of the Class Meta : abstract = True that my UserProfile class contains? Is there another clean way to do this (I though I could maybe put all the fields into UserProfile, most of them would then remain blank since they are not relevant for both profile, but it seems to me that that solution would be rather dirty). Thanks in advance for your time, J.L. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.