{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/31823703","id":31823703,"diff_hunk":"@@ -505,11 +507,12 @@ password resets. You must then provide some key implementation details:\n \n     .. attribute:: USERNAME_FIELD\n \n-        A string describing the name of the field on the User model that is\n-        used as the unique identifier. This will usually be a username of\n-        some kind, but it can also be an email address, or any other unique\n-        identifier. The field *must* be unique (i.e., have ``unique=True``\n-        set in its definition).\n+        A string describing the name of the field on the User model\n+        that is used as the unique identifier. This will usually be a\n+        username of some kind, but it can also be an email address, or\n+        any other unique identifier. The field *must* be unique (i.e.,\n+        have ``unique=True`` set in its definition), unless you use a\n+        custom authentication backend that can support it.","path":"docs/topics/auth/customizing.txt","position":29,"original_position":29,"commit_id":"7a7a759500908a68af4e50e6c81626db9cc43bad","original_commit_id":"7a7a759500908a68af4e50e6c81626db9cc43bad","user":{"login":"carljm","id":61586,"avatar_url":"https://avatars.githubusercontent.com/u/61586?v=3","gravatar_id":"","url":"https://api.github.com/users/carljm","html_url":"https://github.com/carljm","followers_url":"https://api.github.com/users/carljm/followers","following_url":"https://api.github.com/users/carljm/following{/other_user}","gists_url":"https://api.github.com/users/carljm/gists{/gist_id}","starred_url":"https://api.github.com/users/carljm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carljm/subscriptions","organizations_url":"https://api.github.com/users/carljm/orgs","repos_url":"https://api.github.com/users/carljm/repos","events_url":"https://api.github.com/users/carljm/events{/privacy}","received_events_url":"https://api.github.com/users/carljm/received_events","type":"User","site_admin":false},"body":"This sentence doesn't have the context, should maybe be \"unless you use a custom authentication backend that can support non-unique usernames.\"","created_at":"2015-06-05T15:40:52Z","updated_at":"2015-06-05T15:40:52Z","html_url":"https://github.com/django/django/pull/4812#discussion_r31823703","pull_request_url":"https://api.github.com/repos/django/django/pulls/4812","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/31823703"},"html":{"href":"https://github.com/django/django/pull/4812#discussion_r31823703"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/4812"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/4812","id":37042439,"html_url":"https://github.com/django/django/pull/4812","diff_url":"https://github.com/django/django/pull/4812.diff","patch_url":"https://github.com/django/django/pull/4812.patch","issue_url":"https://api.github.com/repos/django/django/issues/4812","number":4812,"state":"open","locked":false,"title":"Fixed #24910 -- Allowed createsuperuser to create multiple users with…","user":{"login":"alasdairnicol","id":646970,"avatar_url":"https://avatars.githubusercontent.com/u/646970?v=3","gravatar_id":"","url":"https://api.github.com/users/alasdairnicol","html_url":"https://github.com/alasdairnicol","followers_url":"https://api.github.com/users/alasdairnicol/followers","following_url":"https://api.github.com/users/alasdairnicol/following{/other_user}","gists_url":"https://api.github.com/users/alasdairnicol/gists{/gist_id}","starred_url":"https://api.github.com/users/alasdairnicol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alasdairnicol/subscriptions","organizations_url":"https://api.github.com/users/alasdairnicol/orgs","repos_url":"https://api.github.com/users/alasdairnicol/repos","events_url":"https://api.github.com/users/alasdairnicol/events{/privacy}","received_events_url":"https://api.github.com/users/alasdairnicol/received_events","type":"User","site_admin":false},"body":"… the same username if USERNAME_FIELD is not unique\r\n\r\nClarified docs to say that a non-unique USERNAME_FIELD is permissable\r\nas long as the custom auth backend can support it.","created_at":"2015-06-05T15:32:47Z","updated_at":"2015-06-05T15:40:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92359af8d3c3e7475385b4afa916fd13b4d08c00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/4812/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/4812/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/4812/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/7a7a759500908a68af4e50e6c81626db9cc43bad","head":{"label":"alasdairnicol:ticket_24910","ref":"ticket_24910","sha":"7a7a759500908a68af4e50e6c81626db9cc43bad","user":{"login":"alasdairnicol","id":646970,"avatar_url":"https://avatars.githubusercontent.com/u/646970?v=3","gravatar_id":"","url":"https://api.github.com/users/alasdairnicol","html_url":"https://github.com/alasdairnicol","followers_url":"https://api.github.com/users/alasdairnicol/followers","following_url":"https://api.github.com/users/alasdairnicol/following{/other_user}","gists_url":"https://api.github.com/users/alasdairnicol/gists{/gist_id}","starred_url":"https://api.github.com/users/alasdairnicol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alasdairnicol/subscriptions","organizations_url":"https://api.github.com/users/alasdairnicol/orgs","repos_url":"https://api.github.com/users/alasdairnicol/repos","events_url":"https://api.github.com/users/alasdairnicol/events{/privacy}","received_events_url":"https://api.github.com/users/alasdairnicol/received_events","type":"User","site_admin":false},"repo":{"id":10162485,"name":"django","full_name":"alasdairnicol/django","owner":{"login":"alasdairnicol","id":646970,"avatar_url":"https://avatars.githubusercontent.com/u/646970?v=3","gravatar_id":"","url":"https://api.github.com/users/alasdairnicol","html_url":"https://github.com/alasdairnicol","followers_url":"https://api.github.com/users/alasdairnicol/followers","following_url":"https://api.github.com/users/alasdairnicol/following{/other_user}","gists_url":"https://api.github.com/users/alasdairnicol/gists{/gist_id}","starred_url":"https://api.github.com/users/alasdairnicol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alasdairnicol/subscriptions","organizations_url":"https://api.github.com/users/alasdairnicol/orgs","repos_url":"https://api.github.com/users/alasdairnicol/repos","events_url":"https://api.github.com/users/alasdairnicol/events{/privacy}","received_events_url":"https://api.github.com/users/alasdairnicol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alasdairnicol/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/alasdairnicol/django","forks_url":"https://api.github.com/repos/alasdairnicol/django/forks","keys_url":"https://api.github.com/repos/alasdairnicol/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alasdairnicol/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alasdairnicol/django/teams","hooks_url":"https://api.github.com/repos/alasdairnicol/django/hooks","issue_events_url":"https://api.github.com/repos/alasdairnicol/django/issues/events{/number}","events_url":"https://api.github.com/repos/alasdairnicol/django/events","assignees_url":"https://api.github.com/repos/alasdairnicol/django/assignees{/user}","branches_url":"https://api.github.com/repos/alasdairnicol/django/branches{/branch}","tags_url":"https://api.github.com/repos/alasdairnicol/django/tags","blobs_url":"https://api.github.com/repos/alasdairnicol/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alasdairnicol/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alasdairnicol/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/alasdairnicol/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alasdairnicol/django/statuses/{sha}","languages_url":"https://api.github.com/repos/alasdairnicol/django/languages","stargazers_url":"https://api.github.com/repos/alasdairnicol/django/stargazers","contributors_url":"https://api.github.com/repos/alasdairnicol/django/contributors","subscribers_url":"https://api.github.com/repos/alasdairnicol/django/subscribers","subscription_url":"https://api.github.com/repos/alasdairnicol/django/subscription","commits_url":"https://api.github.com/repos/alasdairnicol/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/alasdairnicol/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/alasdairnicol/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/alasdairnicol/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/alasdairnicol/django/contents/{+path}","compare_url":"https://api.github.com/repos/alasdairnicol/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alasdairnicol/django/merges","archive_url":"https://api.github.com/repos/alasdairnicol/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alasdairnicol/django/downloads","issues_url":"https://api.github.com/repos/alasdairnicol/django/issues{/number}","pulls_url":"https://api.github.com/repos/alasdairnicol/django/pulls{/number}","milestones_url":"https://api.github.com/repos/alasdairnicol/django/milestones{/number}","notifications_url":"https://api.github.com/repos/alasdairnicol/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alasdairnicol/django/labels{/name}","releases_url":"https://api.github.com/repos/alasdairnicol/django/releases{/id}","created_at":"2013-05-19T22:56:14Z","updated_at":"2014-11-22T18:52:56Z","pushed_at":"2015-06-05T15:32:23Z","git_url":"git://github.com/alasdairnicol/django.git","ssh_url":"git@github.com:alasdairnicol/django.git","clone_url":"https://github.com/alasdairnicol/django.git","svn_url":"https://github.com/alasdairnicol/django","homepage":"http://www.djangoproject.com/","size":134779,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"django:master","ref":"master","sha":"286d0e6ab1e54906007fda86b6cb6deb26c6deb2","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-06-05T15:10:35Z","pushed_at":"2015-06-05T15:40:50Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":291841,"stargazers_count":14517,"watchers_count":14517,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5804,"mirror_url":null,"open_issues_count":98,"forks":5804,"open_issues":98,"watchers":14517,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/4812"},"html":{"href":"https://github.com/django/django/pull/4812"},"issue":{"href":"https://api.github.com/repos/django/django/issues/4812"},"comments":{"href":"https://api.github.com/repos/django/django/issues/4812/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/4812/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/4812/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/7a7a759500908a68af4e50e6c81626db9cc43bad"}}}}