Kivai Muinde
unread,Oct 12, 2019, 2:20:30 PM10/12/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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.