I am a Django learner. 

1.I have a requirement to create the multiple forms in a single page for a 
model. 
2.So i created the formset using modelformset_factory. 
3.I have 2 models.
a)ModelRegister b)ModelGSPRequest. 4.ModelGSPRequest has a field named 
registered_model which is a foreignKey to ModelRegister. 5.But after i 
input all the fields for a modelformset and click on submit to save. I am 
facing below error with the foreign key field.

-- 
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/84953e1b-a2e0-490e-a646-2fade661e6de%40googlegroups.com.

Reply via email to