mirror of https://github.com/snachodog/mybuddy.git
Change form to multipart to allow for image upload without admin
This commit is contained in:
parent
7479cc932f
commit
b2edd13c9f
|
@ -1,7 +1,7 @@
|
||||||
{% load widget_tweaks %}
|
{% load widget_tweaks %}
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<form role="form" method="post">
|
<form role="form" method="post" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% if form.non_field_errors %}
|
{% if form.non_field_errors %}
|
||||||
{% for error in form.non_field_errors %}
|
{% for error in form.non_field_errors %}
|
||||||
|
|
Loading…
Reference in New Issue