One thing you can try for troubleshooting is an else clause to go with your
is_valid
if education.is_valid():
education.save(commit=False)
education.instance = self.object
education.save()
else:
print('There was an error')
for err in education.errors:
print(err)
On Sunday, February 23, 2020 at 2:01:37 AM UTC-5, Shazia Nusrat wrote:
>
> Hi,
>
> Can someone help to answer the question in link?
> Also I've been trying to get CreateView working with 5 inline formsets but
> couldn't make it work.
>
> Will really appreciate your help if someone can help me with working
> example.
>
> Question:
> https://stackoverflow.com/questions/60354976/django-createview-not-saving-form-with-nested-formset
>
> Regards,
>
> Shazia
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/86c26d31-485c-4e80-8c82-18eb4b602deb%40googlegroups.com.