Skip to content

Conversation

@eMBee
Copy link
Collaborator

@eMBee eMBee commented May 30, 2024

this version successfully saves answers to custom questions

form.save()
form.is_valid()
submission = form.instance
form.submission = submission
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand, what is the point of re-attaching instance to form under another name?

This line is

form.submission = form.instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants