I came across an interesting issue recently.  I had a form with an action set 
to "GET".  The corresponding view was a django-rest-framework view that was 
just supposed to allow for GET requests.  However, I couldn't get it to work 
because drf was expecting lower case names, and it turns out that HTML5 expects 
a lowercase action set to "get".

Yet the request variables are capitalized.
request.GET
request.POST

I suppose that we're saying that those variables are "constants" and should 
follow the naming convention of capitalizing them.  They are immutable 
dictionaries after all.  So I guess I've answered my own question.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1f2c597bd7ec4dedabdb31b11062d7c2%40ISS1.ISS.LOCAL.
For more options, visit https://groups.google.com/d/optout.

Reply via email to