Le 19 janv. 09 à 22:53, Aaron Lee a écrit : > > But I am still getting the exception saying the backend doesn't > support absolute paths. > In django/db/models/fields/files.py line 52 _get_path > return self.storage.path(self.name) > > and my self.name is userprofile/cs1.jpg > > Any suggestions?
Hi Aaron, Sorry for my late answer, I was on holidays, what about instance.url()? (that's the recommended way to do, .path() is for local storages) 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---