{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/tmm/django-username-email/pulls/6","id":95983029,"html_url":"https://github.com/tmm/django-username-email/pull/6","diff_url":"https://github.com/tmm/django-username-email/pull/6.diff","patch_url":"https://github.com/tmm/django-username-email/pull/6.patch","issue_url":"https://api.github.com/repos/tmm/django-username-email/issues/6","number":6,"state":"open","locked":false,"title":"Move AbstractCUser and CUserManagers to separate files","user":{"login":"VRyazanov","id":2764703,"avatar_url":"https://avatars.githubusercontent.com/u/2764703?v=3","gravatar_id":"","url":"https://api.github.com/users/VRyazanov","html_url":"https://github.com/VRyazanov","followers_url":"https://api.github.com/users/VRyazanov/followers","following_url":"https://api.github.com/users/VRyazanov/following{/other_user}","gists_url":"https://api.github.com/users/VRyazanov/gists{/gist_id}","starred_url":"https://api.github.com/users/VRyazanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VRyazanov/subscriptions","organizations_url":"https://api.github.com/users/VRyazanov/orgs","repos_url":"https://api.github.com/users/VRyazanov/repos","events_url":"https://api.github.com/users/VRyazanov/events{/privacy}","received_events_url":"https://api.github.com/users/VRyazanov/received_events","type":"User","site_admin":false},"body":"Hi,\r\nI've faced with the issue when I tried to use AbstractCUser as a base class for a custom model. Django raises an exception which is related to reverse accessor. The error looks like:\r\n```\r\ncore.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'CUser.groups'.\r\nHINT: Add or change a related_name argument to the definition for 'User.groups' or 'CUser.groups'.\r\n```\r\nand etc.\r\n","created_at":"2016-11-30T22:02:45Z","updated_at":"2016-11-30T22:02:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tmm/django-username-email/pulls/6/commits","review_comments_url":"https://api.github.com/repos/tmm/django-username-email/pulls/6/comments","review_comment_url":"https://api.github.com/repos/tmm/django-username-email/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tmm/django-username-email/issues/6/comments","statuses_url":"https://api.github.com/repos/tmm/django-username-email/statuses/201818b771c19f53600be4504e7752f550b587a7","head":{"label":"VRyazanov:master","ref":"master","sha":"201818b771c19f53600be4504e7752f550b587a7","user":{"login":"VRyazanov","id":2764703,"avatar_url":"https://avatars.githubusercontent.com/u/2764703?v=3","gravatar_id":"","url":"https://api.github.com/users/VRyazanov","html_url":"https://github.com/VRyazanov","followers_url":"https://api.github.com/users/VRyazanov/followers","following_url":"https://api.github.com/users/VRyazanov/following{/other_user}","gists_url":"https://api.github.com/users/VRyazanov/gists{/gist_id}","starred_url":"https://api.github.com/users/VRyazanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VRyazanov/subscriptions","organizations_url":"https://api.github.com/users/VRyazanov/orgs","repos_url":"https://api.github.com/users/VRyazanov/repos","events_url":"https://api.github.com/users/VRyazanov/events{/privacy}","received_events_url":"https://api.github.com/users/VRyazanov/received_events","type":"User","site_admin":false},"repo":{"id":75229058,"name":"django-username-email","full_name":"VRyazanov/django-username-email","owner":{"login":"VRyazanov","id":2764703,"avatar_url":"https://avatars.githubusercontent.com/u/2764703?v=3","gravatar_id":"","url":"https://api.github.com/users/VRyazanov","html_url":"https://github.com/VRyazanov","followers_url":"https://api.github.com/users/VRyazanov/followers","following_url":"https://api.github.com/users/VRyazanov/following{/other_user}","gists_url":"https://api.github.com/users/VRyazanov/gists{/gist_id}","starred_url":"https://api.github.com/users/VRyazanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VRyazanov/subscriptions","organizations_url":"https://api.github.com/users/VRyazanov/orgs","repos_url":"https://api.github.com/users/VRyazanov/repos","events_url":"https://api.github.com/users/VRyazanov/events{/privacy}","received_events_url":"https://api.github.com/users/VRyazanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VRyazanov/django-username-email","description":":key: Custom Django User model that makes email the USERNAME_FIELD","fork":true,"url":"https://api.github.com/repos/VRyazanov/django-username-email","forks_url":"https://api.github.com/repos/VRyazanov/django-username-email/forks","keys_url":"https://api.github.com/repos/VRyazanov/django-username-email/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VRyazanov/django-username-email/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VRyazanov/django-username-email/teams","hooks_url":"https://api.github.com/repos/VRyazanov/django-username-email/hooks","issue_events_url":"https://api.github.com/repos/VRyazanov/django-username-email/issues/events{/number}","events_url":"https://api.github.com/repos/VRyazanov/django-username-email/events","assignees_url":"https://api.github.com/repos/VRyazanov/django-username-email/assignees{/user}","branches_url":"https://api.github.com/repos/VRyazanov/django-username-email/branches{/branch}","tags_url":"https://api.github.com/repos/VRyazanov/django-username-email/tags","blobs_url":"https://api.github.com/repos/VRyazanov/django-username-email/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VRyazanov/django-username-email/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VRyazanov/django-username-email/git/refs{/sha}","trees_url":"https://api.github.com/repos/VRyazanov/django-username-email/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VRyazanov/django-username-email/statuses/{sha}","languages_url":"https://api.github.com/repos/VRyazanov/django-username-email/languages","stargazers_url":"https://api.github.com/repos/VRyazanov/django-username-email/stargazers","contributors_url":"https://api.github.com/repos/VRyazanov/django-username-email/contributors","subscribers_url":"https://api.github.com/repos/VRyazanov/django-username-email/subscribers","subscription_url":"https://api.github.com/repos/VRyazanov/django-username-email/subscription","commits_url":"https://api.github.com/repos/VRyazanov/django-username-email/commits{/sha}","git_commits_url":"https://api.github.com/repos/VRyazanov/django-username-email/git/commits{/sha}","comments_url":"https://api.github.com/repos/VRyazanov/django-username-email/comments{/number}","issue_comment_url":"https://api.github.com/repos/VRyazanov/django-username-email/issues/comments{/number}","contents_url":"https://api.github.com/repos/VRyazanov/django-username-email/contents/{+path}","compare_url":"https://api.github.com/repos/VRyazanov/django-username-email/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VRyazanov/django-username-email/merges","archive_url":"https://api.github.com/repos/VRyazanov/django-username-email/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VRyazanov/django-username-email/downloads","issues_url":"https://api.github.com/repos/VRyazanov/django-username-email/issues{/number}","pulls_url":"https://api.github.com/repos/VRyazanov/django-username-email/pulls{/number}","milestones_url":"https://api.github.com/repos/VRyazanov/django-username-email/milestones{/number}","notifications_url":"https://api.github.com/repos/VRyazanov/django-username-email/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VRyazanov/django-username-email/labels{/name}","releases_url":"https://api.github.com/repos/VRyazanov/django-username-email/releases{/id}","deployments_url":"https://api.github.com/repos/VRyazanov/django-username-email/deployments","created_at":"2016-11-30T21:32:57Z","updated_at":"2016-11-30T21:32:58Z","pushed_at":"2016-11-30T21:47:11Z","git_url":"git://github.com/VRyazanov/django-username-email.git","ssh_url":"git@github.com:VRyazanov/django-username-email.git","clone_url":"https://github.com/VRyazanov/django-username-email.git","svn_url":"https://github.com/VRyazanov/django-username-email","homepage":"meagher.co/django-username-email","size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"tmm:master","ref":"master","sha":"0684c44e1f0d4cb146fdf191cb867d154680ae34","user":{"login":"tmm","id":6759464,"avatar_url":"https://avatars.githubusercontent.com/u/6759464?v=3","gravatar_id":"","url":"https://api.github.com/users/tmm","html_url":"https://github.com/tmm","followers_url":"https://api.github.com/users/tmm/followers","following_url":"https://api.github.com/users/tmm/following{/other_user}","gists_url":"https://api.github.com/users/tmm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmm/subscriptions","organizations_url":"https://api.github.com/users/tmm/orgs","repos_url":"https://api.github.com/users/tmm/repos","events_url":"https://api.github.com/users/tmm/events{/privacy}","received_events_url":"https://api.github.com/users/tmm/received_events","type":"User","site_admin":false},"repo":{"id":51544111,"name":"django-username-email","full_name":"tmm/django-username-email","owner":{"login":"tmm","id":6759464,"avatar_url":"https://avatars.githubusercontent.com/u/6759464?v=3","gravatar_id":"","url":"https://api.github.com/users/tmm","html_url":"https://github.com/tmm","followers_url":"https://api.github.com/users/tmm/followers","following_url":"https://api.github.com/users/tmm/following{/other_user}","gists_url":"https://api.github.com/users/tmm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmm/subscriptions","organizations_url":"https://api.github.com/users/tmm/orgs","repos_url":"https://api.github.com/users/tmm/repos","events_url":"https://api.github.com/users/tmm/events{/privacy}","received_events_url":"https://api.github.com/users/tmm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tmm/django-username-email","description":":key: Custom Django User model that makes email the USERNAME_FIELD","fork":false,"url":"https://api.github.com/repos/tmm/django-username-email","forks_url":"https://api.github.com/repos/tmm/django-username-email/forks","keys_url":"https://api.github.com/repos/tmm/django-username-email/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmm/django-username-email/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmm/django-username-email/teams","hooks_url":"https://api.github.com/repos/tmm/django-username-email/hooks","issue_events_url":"https://api.github.com/repos/tmm/django-username-email/issues/events{/number}","events_url":"https://api.github.com/repos/tmm/django-username-email/events","assignees_url":"https://api.github.com/repos/tmm/django-username-email/assignees{/user}","branches_url":"https://api.github.com/repos/tmm/django-username-email/branches{/branch}","tags_url":"https://api.github.com/repos/tmm/django-username-email/tags","blobs_url":"https://api.github.com/repos/tmm/django-username-email/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmm/django-username-email/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmm/django-username-email/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmm/django-username-email/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmm/django-username-email/statuses/{sha}","languages_url":"https://api.github.com/repos/tmm/django-username-email/languages","stargazers_url":"https://api.github.com/repos/tmm/django-username-email/stargazers","contributors_url":"https://api.github.com/repos/tmm/django-username-email/contributors","subscribers_url":"https://api.github.com/repos/tmm/django-username-email/subscribers","subscription_url":"https://api.github.com/repos/tmm/django-username-email/subscription","commits_url":"https://api.github.com/repos/tmm/django-username-email/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmm/django-username-email/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmm/django-username-email/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmm/django-username-email/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmm/django-username-email/contents/{+path}","compare_url":"https://api.github.com/repos/tmm/django-username-email/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmm/django-username-email/merges","archive_url":"https://api.github.com/repos/tmm/django-username-email/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmm/django-username-email/downloads","issues_url":"https://api.github.com/repos/tmm/django-username-email/issues{/number}","pulls_url":"https://api.github.com/repos/tmm/django-username-email/pulls{/number}","milestones_url":"https://api.github.com/repos/tmm/django-username-email/milestones{/number}","notifications_url":"https://api.github.com/repos/tmm/django-username-email/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmm/django-username-email/labels{/name}","releases_url":"https://api.github.com/repos/tmm/django-username-email/releases{/id}","deployments_url":"https://api.github.com/repos/tmm/django-username-email/deployments","created_at":"2016-02-11T20:19:23Z","updated_at":"2016-11-19T16:54:43Z","pushed_at":"2016-11-19T16:52:06Z","git_url":"git://github.com/tmm/django-username-email.git","ssh_url":"git@github.com:tmm/django-username-email.git","clone_url":"https://github.com/tmm/django-username-email.git","svn_url":"https://github.com/tmm/django-username-email","homepage":"meagher.co/django-username-email","size":26,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tmm/django-username-email/pulls/6"},"html":{"href":"https://github.com/tmm/django-username-email/pull/6"},"issue":{"href":"https://api.github.com/repos/tmm/django-username-email/issues/6"},"comments":{"href":"https://api.github.com/repos/tmm/django-username-email/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/tmm/django-username-email/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/tmm/django-username-email/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tmm/django-username-email/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/tmm/django-username-email/statuses/201818b771c19f53600be4504e7752f550b587a7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":100,"deletions":98,"changed_files":3}}
{"actor":{"display_login":"VRyazanov"}}