Django & mod_wsgi, multipart/form-data forms, and hell

2009-09-10 Thread Ben Kreeger
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

Reading data from database tied to another Django project?

2009-07-10 Thread Ben Kreeger
Here's the situation: I've got two projects, both Django. One is a simple, public-facing website that renders a library of reStructuredText files, as well as a couple of simple forms using the Forms API. The other is a back-end that requires a login from a member of our staff, and contains databas