Why I'm getting name 'request' is not defined in python django 4.1 while rendering a template [closed]

name 'request' is not defined Request Method: GET Request URL: http://127.0.0.1:8000/gatepass/gatepass_approve/23/1 Django Version: 4.1 Exception Type: NameError Exception Value:
name 'request' is not defined

enter image description here

Back to Top