Request for comments, Issue #29208: "Mistake in the documentation, request.POST['username'] is not working, but request.POST.get('username') is working!"

49 views
Skip to first unread message

leonhar...@gmail.com

unread,
Feb 24, 2022, 9:03:01 AM2/24/22
to Django developers (Contributions to Django itself)
Hello Everyone.

Here is an Issue, that was marked as wontfix:
https://code.djangoproject.com/ticket/29208

In my opinion, this is just a minor documentation problem.
I did not expect it to be so controversial.
But others disagreed.
Thus I seek your attention to share your opinion.
If the majority thinks this should stay as wontfix, then I won't bother in this matter again.
Otherwise I would create a pull request.


Thank you for your time
Leonhard aka mogoh

Adam Johnson

unread,
Feb 24, 2022, 9:19:30 AM2/24/22
to Django developers (Contributions to Django itself)
I agree with the status of the ticket. The login() example is only to show you how to use authenticate() and login(), it can ignore the details of request.POST validation, which you'd normally use a form for.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/f32738d1-a233-4447-b4d7-710a5194ca35n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages