diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-06 08:05:29 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-06 08:05:29 +0200 |
commit | 9e7e1a5ea6e802e49d12c72ca7dcd89807ec16c7 (patch) | |
tree | 6d3e1856d2de32389636497ae8038d5ae08776a3 /templates/devel | |
parent | d6d9a08e63f2e8bfcd997eab396c65dc3b7a2918 (diff) | |
download | archweb-9e7e1a5ea6e802e49d12c72ca7dcd89807ec16c7.tar.gz archweb-9e7e1a5ea6e802e49d12c72ca7dcd89807ec16c7.tar.xz |
Make it actually possible to upload a new dev image
We need to both submit the form with the correct encoding and then bind the
form itself to request.FILES and not just request.POST.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r-- | templates/devel/profile.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/devel/profile.html b/templates/devel/profile.html index 4da6dad..2f16801 100644 --- a/templates/devel/profile.html +++ b/templates/devel/profile.html @@ -6,7 +6,7 @@ <h2>Developer Profile</h2> - <form id="edit-profile-form" method="post">{% csrf_token %} + <form id="edit-profile-form" enctype="multipart/form-data" method="post">{% csrf_token %} <p><em>Note:</em> This is the public information shown on the developer and/or TU profiles page, so please be appropriate with the information you provide here.</p> |