Re: Problem on Display Image

2006-12-12 Thread wangml
Thanks Nathan, I think my mistake is quite common when starting learn django. Now it is done. Thanks again. Minglei --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Problem on Display Image

2006-12-11 Thread wangml
Hi, I meet a problem with ImageField when display the image it contains. I defined an ImageField in myobject like this: attachment = models.ImageField(upload_to='attachments') I set the variables # MEDIA_ROOT = 'c:/myproject/upload' MEDIA_URL = 'http://127.0.0.1:8000/upload' #