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

2022-02-24 Thread 'Adam Johnson' via 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. On Thu, Feb 24, 2022 at 11:46 AM leonhar...@gmail.com < leonhard.kue...@gmail.com>

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

2022-02-24 Thread leonhar...@gmail.com
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