0
<form method="POST">
<select name="sample">
<option>.....</option>
</select>
</form>

Python file

def reqData(request):
    # overhere i want the data selected by the user, and then will iterate that data through my DB to fetch the desired results

The web page is going to run on a GET request, but the data that is needed is coming from a POST request, so how to get the data from the select tag.

Pratham Dave
  • 93
  • 1
  • 11

0 Answers0