{"action":"opened","issue":{"url":"https://api.github.com/repos/Lovecanon/papp_desktop/issues/2","repository_url":"https://api.github.com/repos/Lovecanon/papp_desktop","labels_url":"https://api.github.com/repos/Lovecanon/papp_desktop/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Lovecanon/papp_desktop/issues/2/comments","events_url":"https://api.github.com/repos/Lovecanon/papp_desktop/issues/2/events","html_url":"https://github.com/Lovecanon/papp_desktop/issues/2","id":166079530,"number":2,"title":"AttributeError: type object 'Question' has no attribute 'object'","user":{"login":"Lovecanon","id":10107231,"avatar_url":"https://avatars.githubusercontent.com/u/10107231?v=3","gravatar_id":"","url":"https://api.github.com/users/Lovecanon","html_url":"https://github.com/Lovecanon","followers_url":"https://api.github.com/users/Lovecanon/followers","following_url":"https://api.github.com/users/Lovecanon/following{/other_user}","gists_url":"https://api.github.com/users/Lovecanon/gists{/gist_id}","starred_url":"https://api.github.com/users/Lovecanon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lovecanon/subscriptions","organizations_url":"https://api.github.com/users/Lovecanon/orgs","repos_url":"https://api.github.com/users/Lovecanon/repos","events_url":"https://api.github.com/users/Lovecanon/events{/privacy}","received_events_url":"https://api.github.com/users/Lovecanon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-18T12:11:45Z","updated_at":"2016-07-18T12:11:45Z","closed_at":null,"body":"```\r\nclass IndexView(generic.ListView):\r\n    template_name = “polls/index.html”\r\n    context_object_name = ”latest_question_list“\r\n\r\n    def get_queryset(self):\r\n        return Question.object.order_by(“-pub_date”)[:5]\r\n```\r\n+++++++++++++++modify objects+++++++++++++++++++\r\n```\r\nclass IndexView(generic.ListView):\r\n    template_name = 'polls/index.html'\r\n    context_object_name = 'latest_question_list'\r\n\r\n    def get_queryset(self):\r\n        return Question.objects.order_by('-pub_date')[:5]\r\n```\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"Lovecanon"}}