Add context_data to a UpdateView if form is valid
Provide additional context_data in case the submitted form is valid. This can be a message to confirm that the changes are saved.
- UpdateView
Provide additional context_data in case the submitted form is valid. This can be a message to confirm that the changes are saved.
jayfk has posted 1 snippet.