Home>

HTML

<
Form Action= "{% URL 'Orders_home'%}" Method= "Get" >
    {% csrf_token%}
    ≪
DIV Class= "Input-Group MB-3" >
        ≪
INPUT TYPE= "TEXT" class= "Form-Control" Placeholder= "Search" Aria-Label= "Search" ID= "FILTER" aria-describedby= "button-addon2" >
        ≪
Button type= "submit" class= "BTN BTN-Outline-Secondary" id= "Button-addon2" >
Search <
/Button >
    ≪
/div >
≪
/Form >

Browser string: http://127.0.0.1:8000/Orders/?csrfmiddlewareetoken=e1im8g4z6lpbdguhhhsqdrsj4osunbfhl7anqnviam4yhl3hxnsv2slsvtjacyza

Why is only transmitted CsrfmidDleWareToken. but variable Filter. not getting through?

How do you pass them?

Vadim.Sharoikin2021-04-06 05:12:59