You do not have permission to delete messages in this group
Copy link
Report message
Show original message
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
Hi.
I can find dozens of examples of people using "if self.request.POST:" inside of get_context_data, but as far as I can tell there is no POST in get_context_data.
I came across this in an answer in Stack Overflow:
So I experimented and as far as I can tell you don't even need POST data to populate inline formsets. So why are so many people under the impression that you can do anything with self.request.POST inside of get_context_data and why do so many people seem to think you have to use POST data to populate inline formsets?