It is misspelled, the right is *csrf_token*
Em quinta-feira, 26 de novembro de 2020 às 14:57:37 UTC-3,
dils...@gmail.com escreveu:
> hi friends,
>
> please help me to resolve this issue..
>
>
> Environment:
>
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/login/
>
> Django Version
Hi community,
I am now using the Django server with gunicorn.
I hit a problem in the worker termination.
I've got logs with tshark in the following.
*2020-11-27 06:50:37.509 GMT* [2020-11-27 06:50:37 +] [1] [INFO]
Handling signal: term
*2020-11-27 06:50:37.560 GMT *[2020-11-27 06:50:37 +000
you need to change:
if request.method=="POST":
username=request.POST['username']
password=request.POST['password']
to
if request.method=="POST":
username=request.POST.get['username']
password=request.POST.get['password']
On Friday, November 27, 2020 at
3 matches
Mail list logo