Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileField and FileInput #1

Open
jokull opened this issue Oct 21, 2010 · 0 comments
Open

FileField and FileInput #1

jokull opened this issue Oct 21, 2010 · 0 comments

Comments

@jokull
Copy link

jokull commented Oct 21, 2010

Can mitsuhiko or someone else have a look at my code over at http://github.com/jokull/fungiform/commit/46c3215d1ce80bf5dc7cc4ea9851c2f5337c0827 and http://github.com/jokull/flask-fungiform/commit/0930c3021597e6e7d54817dedcf526b51ad05e3f

The basic idea is that FileFields should not be handled by a forms library until you know which framework it's tied to. Flask-Fungiform presents this opportunity!

The only change to fungiform itself is the enctype. Basically I've allowed fields to "upgrade" the form to multipart if you set that attribute to True on the field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant