Skip to content
Commit 3553d308 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

[PATCH] Naive fix for bug #208


For SimpleSection, use the section name (always "1") instead of the
section type in the CBI-like string used to identify the upload.  This
allows upload fields to be placed in SimpleSections.  The fix changes a
minimal number of lines, but does introduce some unnecessary confusion,
it may or may not be better than a more thorough/invasive fix.

Set the enctype for the form element in the simpleform view to be
multipart/form-data because the default
application/x-www-form-urlencoded does not support input files.

Signed-off-by: default avatarKevin Locke <kevin@kevinlocke.name>
parent 8358175f
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