Hey,
Thanks for the reply. The book was released in March 2015 and I am sure the
authors would've known about the custom user models. It has some very good
suggestions (For intermediate django devs like me at least), though yeah,
this abstract model inheritance idea did seem a little troubling to
> On Apr 6, 2016, at 9:41 PM, Sudhanshu Shekhar wrote:
>
> Hi,
>
> I am creating a tutor-student forum using Django. For which I need to have
> two different user profiles, one for students and one for teachers. However,
> I am unsure about the best way to do this. I am currently following the
Hi,
I am creating a tutor-student forum using Django. For which I need to have
two different user profiles, one for students and one for teachers.
However, I am unsure about the best way to do this. I am currently
following the below approach:
class UserProfile:
user = models.OneToOneField(Us
3 matches
Mail list logo