Replies: 2 comments 1 reply
-
request.POST and request.GET are not quite dictsThey are QueryDicts, a dict subclass with some weirdities. Do not assume that you can give a normal dict to something that wants Weirdities:
You're supposed to feed the QueryDict to a form. If the form is valid ( I assure you, they used to be even weirder, so take care with ancient Django code. |
Beta Was this translation helpful? Give feedback.
-
Attributes (not only the
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For lack of a better place to put it, let's put unexpected/weird behavior of vanilla Django here.
Beta Was this translation helpful? Give feedback.
All reactions