Le 20 janv. 09 à 01:48, Aaron Lee a écrit :

> Thanks David, but it seems awkward to call
>
> avatar.image.storage.url(str(avatar.image))
>
> to retrieve the URL for an ImageField.
> Do you have a better way?

avatar.image.url should work (without parenthesis, that's a property).
I propose to continue the discussion as private, I don't want to flood  
that list with custom apps.

David

PS: note to self, add more examples in documentation...


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to