Commit 69ece558 authored by Charles Lim's avatar Charles Lim

Fixed image not uploading in forms for homepage

parent 6fa0b8c1
......@@ -9,3 +9,6 @@ input {
p {
margin: 30px 0px;
}
form {
padding-bottom: 20px;
}
\ No newline at end of file
......@@ -13,7 +13,7 @@
{% endblock %}
{% block content %}
<form method="post">
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Save New User">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment