Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Django forms I cannot save picture file

<form action="{% url upload_pic %}" method="post" enctype="multipart/form-data">{% csrf_token %}
    <p>
        <input id="id_image" type="file" class="" name="image">
    </p>
    <input type="submit" value="Submit" />
</form>
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #Django #forms #I #save #picture #file
ADD COMMENT
Topic
Name
3+8 =