I've got a model that has an ImageField, and a ModelForm that uses this model. I've got my template set up using the form fields, and my form tag is set up with enctype="multipart/form-data" so the picture upload works.
When I use the included Django development server (runserver command), I can use this form all day, it uploads photos, all is right with the world. When I use my setup with mod_wsgi and Apache2, and I hit submit on this form while attaching a photo, it just hangs. I've checked my code (using assert False just to raise an AssertionError) and it doesn't even make it into my "if request.method == "POST":" statement. It just sits there. If I don't submit a photo with the form, it's fine. Before I added the enctype attribute to my form tags, the form would submit, but if you attached a photo, it wouldn't save. Anybody seeing this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---