Skip to content

Conversation

@veshi
Copy link

@veshi veshi commented Sep 18, 2012

This change replaces attachment.path with uploadedfile.url for
compatibility with django-storage.

Testing done (django 1.4):

  • Before the change, I was getting a NotImplementedError exception of
    "This backend doesn't support absolute paths."
  • After the change, I'm able to upload attachments to AWS as well as a
    local file system.

This change replaces attachment.path with uploadedfile.url for
compatibility with django-storage.

Testing done (django 1.4):
- Before the change, I was getting a NotImplementedError exception of
  "This backend doesn't support absolute paths."
- After the change, I'm able to upload attachments to AWS as well as a
  local file system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant