Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Django Form Action

<form action="/blog/hello" method="POST">
    {% csrf_token %}
<input type="submit" value="submit"/>
</form>
#make sure to remember {%the csrf_token %} otherwise the form with post will not work. That part is not optional
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #Django #Form #Action
ADD COMMENT
Topic
Name
3+1 =