I want to send the l.id value in the action which I will match in urlconf.
<form name="move_form" action="{% url index %}move_review/" method="post">
<select name="to_lst">
{% if list1 %}
{% for l in list1 %}
<OPTION value={{ l.id }}>{{l.name }}-{{ l.age }}</OPTION>
{% endfor %}
{% else %}
<OPTION> None </OPTION>
{% endif %}
</select>
<INPUT type="submit" value="Accept" ><INPUT type="Reset">
What I want is to make the url like <mainip>/move_review/{l.id}/
Any help will be highly appreciated. Thanks.