Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to separate data from two forms in django

<form method="post" id="formOne">
    {% csrf_token %}
   <input type="hidden" name="form_type" value="formOne">

    .....
</form>

.....

<form method="post" id="formTwo">
    {% csrf_token %}
    <input type="hidden" name="form_type" value="formTwo">
   ....
</form>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #separate #data #forms #django
ADD COMMENT
Topic
Name
7+3 =