Hi all,

respective to my thread from yesterday:
http://groups.google.com/group/django-users/browse_thread/thread/c5816db50ed0ef9/1455790f9220bb30?lnk=gst&q=image+upload#1455790f9220bb30
i got more irritated now and think i found
a bug or something like that.

If i try to store the uploaded picture in
'avatars/' it creates a new folder
avatars in my django project and stores
the files there.

But when try to show the picture on
the website with 'pic.url' it gives
me the path to the media root, meaning:
'media/avatars/file.jpg'.

And if i say the upload path should be
'media/avatars' it creates a folder
avatar in 'media' and stores the
pictures there.

But then, when i call the pic.url
function it gives me back the url:
'media/media/avatars/fil.jpg'.

So for me this means that it stores
the file in the specified upload path,
no matter where that is, and reads it
from the media root + the upload path,
which seems like a bug for me.

Any clarification for that behaviour?
Or is it just me experiencing this?


Greetings
Sven

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to