Le 15 sept. 08 à 07:16, David Zhou a écrit :
> On Sep 15, 2008, at 1:01 AM, vinay wrote:
>
>> File "/usr/lib/python2.5/site-packages/django/core/files/
>> storage.py", line 81, in path
>>   raise NotImplementedError("This backend doesn't support absolute
>> paths.")
>> NotImplementedError: This backend doesn't support absolute paths.
>
> Sounds like you just need to define that method for the S3 backend.
> It's falling back on the base method that spits out the exception.

No, this is explicitly mentioned that you should not implement this  
method for storages:
http://docs.djangoproject.com/en/dev/ref/files/storage/#storage-path-name

this bug is a photologue one which should use photo.url and not  
photo.get_absolute_url here for instance:
http://code.google.com/p/django-photologue/source/browse/trunk/photologue/templates/photologue/photo_list.html

Let me know if it works with .url please.

Regards,
David


--~--~---------~--~----~------------~-------~--~----~
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