Is it possible for you to attach a screenshot of your models.py file if you 
don't mind?

On Saturday, October 12, 2019 at 5:20:30 PM UTC+3, Kivai Muinde wrote:
>
> I have two  model  classes, *school* and *profile*. 
> The school model contains a field called school_level which has several 
> choices( primary, secondary , college,university). 
>
> The profile models has four differnt fields (school_primary, 
> school_secondary, school_college,school_university)  each is a foreign key 
> to  the school_level in the school class. 
>
> Django, however raises an error when  I try makemigrations. Does any one 
> have an idea on how  to implement   multiple foreign field at the same time.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c744afbb-c5ef-4f24-bed7-c9de86783b0a%40googlegroups.com.

Reply via email to