Re: Exception Type: TemplateSyntaxError at /login/ Exception Value: Invalid block tag on line 23: 'csrf_tocken', expected 'endblock'. Did you forget to register or load this tag?

2020-11-27 Thread Luciano Martins
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

Sigterm handling on the TCP server

2020-11-27 Thread 'Ryan Siu' via Django users
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

Re: Unable to Login

2020-11-27 Thread Raynier Portus
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