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
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'
#
2 matches
Mail list logo