Django 1.9: Field clashes with the field of non-existing field in parent model
I think that you shouldn’t use name certifier for that foreign key relation because class Profile actually has certifier, admin and designer fields(although by descriptor) according to docs and in that case names actually would clash. from django.contrib.auth.models import User c = Certifier.objects.create( type=”admin”, user=User.objects.latest(‘date_joined’), ) p = c.profile_ptr print(p.certifier) #username (admin) Change to something … Read more