ImageField forms require an enctype, not documented
|Reported by:||airstrike||Owned by:||nobody|
|Severity:||Keywords:||ImageField enctype form HTML|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Well, this may very well not be a Django issue, but I can't help but suggest that this small caveat be documented somewhere.
Forms with ImageField require an enctype attribute such as <form enctype="multipart/form-data" method="post" action="">. Yes, it's HTML, not Django. But frustrating nonetheless.
As you can see by reactions in http://stackoverflow.com/questions/680770/django-imagefield-not-working-properly-via-modelform many new developers have a tough time when dealing with this issue. I'm not bold enough to submit a documentation patch, but it should be fairly simple to explain.