{"action":"created","issue":{"url":"https://api.github.com/repos/respondcreate/django-versatileimagefield/issues/70","repository_url":"https://api.github.com/repos/respondcreate/django-versatileimagefield","labels_url":"https://api.github.com/repos/respondcreate/django-versatileimagefield/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/respondcreate/django-versatileimagefield/issues/70/comments","events_url":"https://api.github.com/repos/respondcreate/django-versatileimagefield/issues/70/events","html_url":"https://github.com/respondcreate/django-versatileimagefield/issues/70","id":170733889,"number":70,"title":"Attribute Error","user":{"login":"farice","id":13244177,"avatar_url":"https://avatars.githubusercontent.com/u/13244177?v=3","gravatar_id":"","url":"https://api.github.com/users/farice","html_url":"https://github.com/farice","followers_url":"https://api.github.com/users/farice/followers","following_url":"https://api.github.com/users/farice/following{/other_user}","gists_url":"https://api.github.com/users/farice/gists{/gist_id}","starred_url":"https://api.github.com/users/farice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farice/subscriptions","organizations_url":"https://api.github.com/users/farice/orgs","repos_url":"https://api.github.com/users/farice/repos","events_url":"https://api.github.com/users/farice/events{/privacy}","received_events_url":"https://api.github.com/users/farice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-11T20:06:45Z","updated_at":"2016-08-11T20:55:46Z","closed_at":null,"body":"I attempted to incorporate a basic versatile photo field directly from the tutorial into my pre-existing Django Rest API (1.10) and unfortunately I am getting the error:\r\n\r\n'VersatileImageFieldFile' object has no attribute '__getitem__'\r\n\r\nOn access of the model URL. Any idea why this is happening? \r\n\r\nI am running my API to store images in an S3 bucket so it is my assumption that this has something to do with it. Does your framework support AWS integration?\r\n\r\nNOTE: All is well when a standard image field is used instead. \r\n\r\nThanks! "},"comment":{"url":"https://api.github.com/repos/respondcreate/django-versatileimagefield/issues/comments/239289579","html_url":"https://github.com/respondcreate/django-versatileimagefield/issues/70#issuecomment-239289579","issue_url":"https://api.github.com/repos/respondcreate/django-versatileimagefield/issues/70","id":239289579,"user":{"login":"respondcreate","id":843929,"avatar_url":"https://avatars.githubusercontent.com/u/843929?v=3","gravatar_id":"","url":"https://api.github.com/users/respondcreate","html_url":"https://github.com/respondcreate","followers_url":"https://api.github.com/users/respondcreate/followers","following_url":"https://api.github.com/users/respondcreate/following{/other_user}","gists_url":"https://api.github.com/users/respondcreate/gists{/gist_id}","starred_url":"https://api.github.com/users/respondcreate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/respondcreate/subscriptions","organizations_url":"https://api.github.com/users/respondcreate/orgs","repos_url":"https://api.github.com/users/respondcreate/repos","events_url":"https://api.github.com/users/respondcreate/events{/privacy}","received_events_url":"https://api.github.com/users/respondcreate/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T20:55:46Z","updated_at":"2016-08-11T20:55:46Z","body":"@farice –\r\n\r\nI haven't yet made this app Django 1.10 compatible so maybe that's the issue? Try installing Django 1.9.x and see if that fixes it..."}}
{"actor":{"display_login":"respondcreate"}}