{"action":"opened","number":495,"pull_request":{"url":"https://api.github.com/repos/alex/django-taggit/pulls/495","id":128285227,"html_url":"https://github.com/alex/django-taggit/pull/495","diff_url":"https://github.com/alex/django-taggit/pull/495.diff","patch_url":"https://github.com/alex/django-taggit/pull/495.patch","issue_url":"https://api.github.com/repos/alex/django-taggit/issues/495","number":495,"state":"open","locked":false,"title":"Fixed error when adding tags to user model with name of Name","user":{"login":"tors10e","id":6124798,"avatar_url":"https://avatars2.githubusercontent.com/u/6124798?v=3","gravatar_id":"","url":"https://api.github.com/users/tors10e","html_url":"https://github.com/tors10e","followers_url":"https://api.github.com/users/tors10e/followers","following_url":"https://api.github.com/users/tors10e/following{/other_user}","gists_url":"https://api.github.com/users/tors10e/gists{/gist_id}","starred_url":"https://api.github.com/users/tors10e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tors10e/subscriptions","organizations_url":"https://api.github.com/users/tors10e/orgs","repos_url":"https://api.github.com/users/tors10e/repos","events_url":"https://api.github.com/users/tors10e/events{/privacy}","received_events_url":"https://api.github.com/users/tors10e/received_events","type":"User","site_admin":false},"body":"The related_query_name function was using the model name instead of the related_name attribute which was causing a clash between the model name and the tag.name.  By returning the field's related name instead of the model name  when it exists, fixed this problem.","created_at":"2017-06-30T02:37:26Z","updated_at":"2017-06-30T02:37:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/alex/django-taggit/pulls/495/commits","review_comments_url":"https://api.github.com/repos/alex/django-taggit/pulls/495/comments","review_comment_url":"https://api.github.com/repos/alex/django-taggit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alex/django-taggit/issues/495/comments","statuses_url":"https://api.github.com/repos/alex/django-taggit/statuses/30e500542ea80cd28d4fd6f217d066a87b12b9b1","head":{"label":"tors10e:master","ref":"master","sha":"30e500542ea80cd28d4fd6f217d066a87b12b9b1","user":{"login":"tors10e","id":6124798,"avatar_url":"https://avatars2.githubusercontent.com/u/6124798?v=3","gravatar_id":"","url":"https://api.github.com/users/tors10e","html_url":"https://github.com/tors10e","followers_url":"https://api.github.com/users/tors10e/followers","following_url":"https://api.github.com/users/tors10e/following{/other_user}","gists_url":"https://api.github.com/users/tors10e/gists{/gist_id}","starred_url":"https://api.github.com/users/tors10e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tors10e/subscriptions","organizations_url":"https://api.github.com/users/tors10e/orgs","repos_url":"https://api.github.com/users/tors10e/repos","events_url":"https://api.github.com/users/tors10e/events{/privacy}","received_events_url":"https://api.github.com/users/tors10e/received_events","type":"User","site_admin":false},"repo":{"id":95826363,"name":"django-taggit","full_name":"tors10e/django-taggit","owner":{"login":"tors10e","id":6124798,"avatar_url":"https://avatars2.githubusercontent.com/u/6124798?v=3","gravatar_id":"","url":"https://api.github.com/users/tors10e","html_url":"https://github.com/tors10e","followers_url":"https://api.github.com/users/tors10e/followers","following_url":"https://api.github.com/users/tors10e/following{/other_user}","gists_url":"https://api.github.com/users/tors10e/gists{/gist_id}","starred_url":"https://api.github.com/users/tors10e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tors10e/subscriptions","organizations_url":"https://api.github.com/users/tors10e/orgs","repos_url":"https://api.github.com/users/tors10e/repos","events_url":"https://api.github.com/users/tors10e/events{/privacy}","received_events_url":"https://api.github.com/users/tors10e/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tors10e/django-taggit","description":"Simple tagging for django","fork":true,"url":"https://api.github.com/repos/tors10e/django-taggit","forks_url":"https://api.github.com/repos/tors10e/django-taggit/forks","keys_url":"https://api.github.com/repos/tors10e/django-taggit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tors10e/django-taggit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tors10e/django-taggit/teams","hooks_url":"https://api.github.com/repos/tors10e/django-taggit/hooks","issue_events_url":"https://api.github.com/repos/tors10e/django-taggit/issues/events{/number}","events_url":"https://api.github.com/repos/tors10e/django-taggit/events","assignees_url":"https://api.github.com/repos/tors10e/django-taggit/assignees{/user}","branches_url":"https://api.github.com/repos/tors10e/django-taggit/branches{/branch}","tags_url":"https://api.github.com/repos/tors10e/django-taggit/tags","blobs_url":"https://api.github.com/repos/tors10e/django-taggit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tors10e/django-taggit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tors10e/django-taggit/git/refs{/sha}","trees_url":"https://api.github.com/repos/tors10e/django-taggit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tors10e/django-taggit/statuses/{sha}","languages_url":"https://api.github.com/repos/tors10e/django-taggit/languages","stargazers_url":"https://api.github.com/repos/tors10e/django-taggit/stargazers","contributors_url":"https://api.github.com/repos/tors10e/django-taggit/contributors","subscribers_url":"https://api.github.com/repos/tors10e/django-taggit/subscribers","subscription_url":"https://api.github.com/repos/tors10e/django-taggit/subscription","commits_url":"https://api.github.com/repos/tors10e/django-taggit/commits{/sha}","git_commits_url":"https://api.github.com/repos/tors10e/django-taggit/git/commits{/sha}","comments_url":"https://api.github.com/repos/tors10e/django-taggit/comments{/number}","issue_comment_url":"https://api.github.com/repos/tors10e/django-taggit/issues/comments{/number}","contents_url":"https://api.github.com/repos/tors10e/django-taggit/contents/{+path}","compare_url":"https://api.github.com/repos/tors10e/django-taggit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tors10e/django-taggit/merges","archive_url":"https://api.github.com/repos/tors10e/django-taggit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tors10e/django-taggit/downloads","issues_url":"https://api.github.com/repos/tors10e/django-taggit/issues{/number}","pulls_url":"https://api.github.com/repos/tors10e/django-taggit/pulls{/number}","milestones_url":"https://api.github.com/repos/tors10e/django-taggit/milestones{/number}","notifications_url":"https://api.github.com/repos/tors10e/django-taggit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tors10e/django-taggit/labels{/name}","releases_url":"https://api.github.com/repos/tors10e/django-taggit/releases{/id}","deployments_url":"https://api.github.com/repos/tors10e/django-taggit/deployments","created_at":"2017-06-29T22:45:54Z","updated_at":"2017-06-29T22:45:56Z","pushed_at":"2017-06-30T02:32:07Z","git_url":"git://github.com/tors10e/django-taggit.git","ssh_url":"git@github.com:tors10e/django-taggit.git","clone_url":"https://github.com/tors10e/django-taggit.git","svn_url":"https://github.com/tors10e/django-taggit","homepage":"https://django-taggit.readthedocs.io","size":626,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alex:master","ref":"master","sha":"294fe61b01ec8d6d24f1bfd30e4345d6ada33f6f","user":{"login":"alex","id":772,"avatar_url":"https://avatars1.githubusercontent.com/u/772?v=3","gravatar_id":"","url":"https://api.github.com/users/alex","html_url":"https://github.com/alex","followers_url":"https://api.github.com/users/alex/followers","following_url":"https://api.github.com/users/alex/following{/other_user}","gists_url":"https://api.github.com/users/alex/gists{/gist_id}","starred_url":"https://api.github.com/users/alex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex/subscriptions","organizations_url":"https://api.github.com/users/alex/orgs","repos_url":"https://api.github.com/users/alex/repos","events_url":"https://api.github.com/users/alex/events{/privacy}","received_events_url":"https://api.github.com/users/alex/received_events","type":"User","site_admin":false},"repo":{"id":409101,"name":"django-taggit","full_name":"alex/django-taggit","owner":{"login":"alex","id":772,"avatar_url":"https://avatars1.githubusercontent.com/u/772?v=3","gravatar_id":"","url":"https://api.github.com/users/alex","html_url":"https://github.com/alex","followers_url":"https://api.github.com/users/alex/followers","following_url":"https://api.github.com/users/alex/following{/other_user}","gists_url":"https://api.github.com/users/alex/gists{/gist_id}","starred_url":"https://api.github.com/users/alex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex/subscriptions","organizations_url":"https://api.github.com/users/alex/orgs","repos_url":"https://api.github.com/users/alex/repos","events_url":"https://api.github.com/users/alex/events{/privacy}","received_events_url":"https://api.github.com/users/alex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alex/django-taggit","description":"Simple tagging for django","fork":false,"url":"https://api.github.com/repos/alex/django-taggit","forks_url":"https://api.github.com/repos/alex/django-taggit/forks","keys_url":"https://api.github.com/repos/alex/django-taggit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alex/django-taggit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alex/django-taggit/teams","hooks_url":"https://api.github.com/repos/alex/django-taggit/hooks","issue_events_url":"https://api.github.com/repos/alex/django-taggit/issues/events{/number}","events_url":"https://api.github.com/repos/alex/django-taggit/events","assignees_url":"https://api.github.com/repos/alex/django-taggit/assignees{/user}","branches_url":"https://api.github.com/repos/alex/django-taggit/branches{/branch}","tags_url":"https://api.github.com/repos/alex/django-taggit/tags","blobs_url":"https://api.github.com/repos/alex/django-taggit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alex/django-taggit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alex/django-taggit/git/refs{/sha}","trees_url":"https://api.github.com/repos/alex/django-taggit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alex/django-taggit/statuses/{sha}","languages_url":"https://api.github.com/repos/alex/django-taggit/languages","stargazers_url":"https://api.github.com/repos/alex/django-taggit/stargazers","contributors_url":"https://api.github.com/repos/alex/django-taggit/contributors","subscribers_url":"https://api.github.com/repos/alex/django-taggit/subscribers","subscription_url":"https://api.github.com/repos/alex/django-taggit/subscription","commits_url":"https://api.github.com/repos/alex/django-taggit/commits{/sha}","git_commits_url":"https://api.github.com/repos/alex/django-taggit/git/commits{/sha}","comments_url":"https://api.github.com/repos/alex/django-taggit/comments{/number}","issue_comment_url":"https://api.github.com/repos/alex/django-taggit/issues/comments{/number}","contents_url":"https://api.github.com/repos/alex/django-taggit/contents/{+path}","compare_url":"https://api.github.com/repos/alex/django-taggit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alex/django-taggit/merges","archive_url":"https://api.github.com/repos/alex/django-taggit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alex/django-taggit/downloads","issues_url":"https://api.github.com/repos/alex/django-taggit/issues{/number}","pulls_url":"https://api.github.com/repos/alex/django-taggit/pulls{/number}","milestones_url":"https://api.github.com/repos/alex/django-taggit/milestones{/number}","notifications_url":"https://api.github.com/repos/alex/django-taggit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alex/django-taggit/labels{/name}","releases_url":"https://api.github.com/repos/alex/django-taggit/releases{/id}","deployments_url":"https://api.github.com/repos/alex/django-taggit/deployments","created_at":"2009-12-08T23:40:49Z","updated_at":"2017-06-28T16:21:05Z","pushed_at":"2017-06-04T01:41:28Z","git_url":"git://github.com/alex/django-taggit.git","ssh_url":"git@github.com:alex/django-taggit.git","clone_url":"https://github.com/alex/django-taggit.git","svn_url":"https://github.com/alex/django-taggit","homepage":"https://django-taggit.readthedocs.io","size":626,"stargazers_count":1682,"watchers_count":1682,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":432,"mirror_url":null,"open_issues_count":91,"forks":432,"open_issues":91,"watchers":1682,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alex/django-taggit/pulls/495"},"html":{"href":"https://github.com/alex/django-taggit/pull/495"},"issue":{"href":"https://api.github.com/repos/alex/django-taggit/issues/495"},"comments":{"href":"https://api.github.com/repos/alex/django-taggit/issues/495/comments"},"review_comments":{"href":"https://api.github.com/repos/alex/django-taggit/pulls/495/comments"},"review_comment":{"href":"https://api.github.com/repos/alex/django-taggit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alex/django-taggit/pulls/495/commits"},"statuses":{"href":"https://api.github.com/repos/alex/django-taggit/statuses/30e500542ea80cd28d4fd6f217d066a87b12b9b1"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"tors10e"}}