It seems to work. Thanks
On Saturday, November 26, 2016 at 3:36:42 PM UTC+1, ludovic coues wrote:
>
> Have you tried `getattr(u, 'individualprofile', None)` ?
>
> 2016-11-26 15:17 GMT+01:00 >:
> > Hi guys
> >
> > I'm on Django 1.10, and as described shortly here:
> https://dpaste.de/Bgao, I
Hi guys
I'm on Django 1.10, and as described shortly here: https://dpaste.de/Bgao,
I have created an abstract user profile which is tied to Django's User
model with OneToOneField relationship. So I have AbstractProfile, and then
there are IndividualProfile and BusinessProfile, each of which inh
2 matches
Mail list logo