Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django create view template

Example myapp/author_form.html:

<form method="post">{% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Save">
</form>
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #create #view #template
ADD COMMENT
Topic
Name
6+2 =