After stepping through the server code, I found my problem as well... a slash but in the wrong place. I had been confused by the way admin interface displays the path to uploaded images.
with: settings.py: MEDIA_ROOT="/home/user/foo/media" MEDIA_URL="/static/" models.py: ImageField(upload_to="/static/images/") caused django to write files to /static/images (ignoring MEDIA_ROOT, silly me) ImageField(upload_to="images/") works. On Jun 1, 3:20 am, Thomas Guettler <[EMAIL PROTECTED]> wrote: > Am Freitag, 1. Juni 2007 01:35 schrieb Andrew: > > > I'm just wondering my expectations are correct: > > > Using 0.96, given a model with an ImageField, the admin interface > > gives me (what looks to be) a file upload widget. > > > I should be able to select a file from that widget, and once I save > > the model, it *should* copy my image file into the upload_to path, > > correct? > > Yes, I had problems with this yesterday, too. Now it works: > > settings.py: > > MEDIA_ROOT = '/home/user/docroot/wfba/media' > MEDIA_URL = '/wfba/media/' > > The problem was the trailing slash. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

