{"action":"created","comment":{"url":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/comments/183548901","pull_request_review_id":114569047,"id":183548901,"diff_hunk":"@@ -883,7 +883,8 @@ def t_stamp_translation(self):\n         'i_rarity': 3,\n     }, on_delete=models.SET_NULL)\n     secondary_card = models.ForeignKey(Card, related_name='secondary_card_event', null=True, limit_choices_to={\n-        'i_rarity': 2,","path":"bang/models.py","position":null,"original_position":4,"commit_id":"6a0cef224fe6d6c1525243722e541f737a9c89fc","original_commit_id":"8489a8ff368ab542c3ddbc59275bc7dad88be183","user":{"login":"summertriangle-dev","id":7821037,"avatar_url":"https://avatars2.githubusercontent.com/u/7821037?v=4","gravatar_id":"","url":"https://api.github.com/users/summertriangle-dev","html_url":"https://github.com/summertriangle-dev","followers_url":"https://api.github.com/users/summertriangle-dev/followers","following_url":"https://api.github.com/users/summertriangle-dev/following{/other_user}","gists_url":"https://api.github.com/users/summertriangle-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/summertriangle-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summertriangle-dev/subscriptions","organizations_url":"https://api.github.com/users/summertriangle-dev/orgs","repos_url":"https://api.github.com/users/summertriangle-dev/repos","events_url":"https://api.github.com/users/summertriangle-dev/events{/privacy}","received_events_url":"https://api.github.com/users/summertriangle-dev/received_events","type":"User","site_admin":false},"body":"Performance shouldn't be an issue since that query is only made from the staff form afaik, so I've switched to using `in` (on the main card limit clause as well, for consistency).\r\n\r\nI also made the form take allowed rarities from the model so we're not defining the same constant in multiple places.","created_at":"2018-04-23T21:52:01Z","updated_at":"2018-04-23T21:52:01Z","html_url":"https://github.com/MagiCircles/BanGDream/pull/78#discussion_r183548901","pull_request_url":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/comments/183548901"},"html":{"href":"https://github.com/MagiCircles/BanGDream/pull/78#discussion_r183548901"},"pull_request":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78"}},"in_reply_to_id":183308833},"pull_request":{"url":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78","id":182918495,"html_url":"https://github.com/MagiCircles/BanGDream/pull/78","diff_url":"https://github.com/MagiCircles/BanGDream/pull/78.diff","patch_url":"https://github.com/MagiCircles/BanGDream/pull/78.patch","issue_url":"https://api.github.com/repos/MagiCircles/BanGDream/issues/78","number":78,"state":"open","locked":false,"title":"Allow Event.secondary_card to be 3*","user":{"login":"summertriangle-dev","id":7821037,"avatar_url":"https://avatars2.githubusercontent.com/u/7821037?v=4","gravatar_id":"","url":"https://api.github.com/users/summertriangle-dev","html_url":"https://github.com/summertriangle-dev","followers_url":"https://api.github.com/users/summertriangle-dev/followers","following_url":"https://api.github.com/users/summertriangle-dev/following{/other_user}","gists_url":"https://api.github.com/users/summertriangle-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/summertriangle-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summertriangle-dev/subscriptions","organizations_url":"https://api.github.com/users/summertriangle-dev/orgs","repos_url":"https://api.github.com/users/summertriangle-dev/repos","events_url":"https://api.github.com/users/summertriangle-dev/events{/privacy}","received_events_url":"https://api.github.com/users/summertriangle-dev/received_events","type":"User","site_admin":false},"body":"Just for Aya from the backstage pass event. This doesn't need any db migrations.","created_at":"2018-04-19T22:47:24Z","updated_at":"2018-04-23T21:52:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"134545d8aec64d3e90b93ae2c4f66d3db6f5a44c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78/commits","review_comments_url":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78/comments","review_comment_url":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MagiCircles/BanGDream/issues/78/comments","statuses_url":"https://api.github.com/repos/MagiCircles/BanGDream/statuses/6a0cef224fe6d6c1525243722e541f737a9c89fc","head":{"label":"summertriangle-dev:aya","ref":"aya","sha":"6a0cef224fe6d6c1525243722e541f737a9c89fc","user":{"login":"summertriangle-dev","id":7821037,"avatar_url":"https://avatars2.githubusercontent.com/u/7821037?v=4","gravatar_id":"","url":"https://api.github.com/users/summertriangle-dev","html_url":"https://github.com/summertriangle-dev","followers_url":"https://api.github.com/users/summertriangle-dev/followers","following_url":"https://api.github.com/users/summertriangle-dev/following{/other_user}","gists_url":"https://api.github.com/users/summertriangle-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/summertriangle-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summertriangle-dev/subscriptions","organizations_url":"https://api.github.com/users/summertriangle-dev/orgs","repos_url":"https://api.github.com/users/summertriangle-dev/repos","events_url":"https://api.github.com/users/summertriangle-dev/events{/privacy}","received_events_url":"https://api.github.com/users/summertriangle-dev/received_events","type":"User","site_admin":false},"repo":{"id":87579027,"name":"BanGDream","full_name":"summertriangle-dev/BanGDream","owner":{"login":"summertriangle-dev","id":7821037,"avatar_url":"https://avatars2.githubusercontent.com/u/7821037?v=4","gravatar_id":"","url":"https://api.github.com/users/summertriangle-dev","html_url":"https://github.com/summertriangle-dev","followers_url":"https://api.github.com/users/summertriangle-dev/followers","following_url":"https://api.github.com/users/summertriangle-dev/following{/other_user}","gists_url":"https://api.github.com/users/summertriangle-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/summertriangle-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summertriangle-dev/subscriptions","organizations_url":"https://api.github.com/users/summertriangle-dev/orgs","repos_url":"https://api.github.com/users/summertriangle-dev/repos","events_url":"https://api.github.com/users/summertriangle-dev/events{/privacy}","received_events_url":"https://api.github.com/users/summertriangle-dev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/summertriangle-dev/BanGDream","description":"Girls Band Party!","fork":true,"url":"https://api.github.com/repos/summertriangle-dev/BanGDream","forks_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/forks","keys_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/teams","hooks_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/hooks","issue_events_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/issues/events{/number}","events_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/events","assignees_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/assignees{/user}","branches_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/branches{/branch}","tags_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/tags","blobs_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/git/refs{/sha}","trees_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/statuses/{sha}","languages_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/languages","stargazers_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/stargazers","contributors_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/contributors","subscribers_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/subscribers","subscription_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/subscription","commits_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/commits{/sha}","git_commits_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/git/commits{/sha}","comments_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/comments{/number}","issue_comment_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/issues/comments{/number}","contents_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/contents/{+path}","compare_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/merges","archive_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/downloads","issues_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/issues{/number}","pulls_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/pulls{/number}","milestones_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/milestones{/number}","notifications_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/labels{/name}","releases_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/releases{/id}","deployments_url":"https://api.github.com/repos/summertriangle-dev/BanGDream/deployments","created_at":"2017-04-07T19:15:06Z","updated_at":"2017-04-10T09:14:57Z","pushed_at":"2018-04-23T21:46:30Z","git_url":"git://github.com/summertriangle-dev/BanGDream.git","ssh_url":"git@github.com:summertriangle-dev/BanGDream.git","clone_url":"https://github.com/summertriangle-dev/BanGDream.git","svn_url":"https://github.com/summertriangle-dev/BanGDream","homepage":null,"size":2434,"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,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MagiCircles:master","ref":"master","sha":"7179d146e4f02ada98517ff9b999ecab559d0725","user":{"login":"MagiCircles","id":11432639,"avatar_url":"https://avatars0.githubusercontent.com/u/11432639?v=4","gravatar_id":"","url":"https://api.github.com/users/MagiCircles","html_url":"https://github.com/MagiCircles","followers_url":"https://api.github.com/users/MagiCircles/followers","following_url":"https://api.github.com/users/MagiCircles/following{/other_user}","gists_url":"https://api.github.com/users/MagiCircles/gists{/gist_id}","starred_url":"https://api.github.com/users/MagiCircles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagiCircles/subscriptions","organizations_url":"https://api.github.com/users/MagiCircles/orgs","repos_url":"https://api.github.com/users/MagiCircles/repos","events_url":"https://api.github.com/users/MagiCircles/events{/privacy}","received_events_url":"https://api.github.com/users/MagiCircles/received_events","type":"Organization","site_admin":false},"repo":{"id":86222591,"name":"BanGDream","full_name":"MagiCircles/BanGDream","owner":{"login":"MagiCircles","id":11432639,"avatar_url":"https://avatars0.githubusercontent.com/u/11432639?v=4","gravatar_id":"","url":"https://api.github.com/users/MagiCircles","html_url":"https://github.com/MagiCircles","followers_url":"https://api.github.com/users/MagiCircles/followers","following_url":"https://api.github.com/users/MagiCircles/following{/other_user}","gists_url":"https://api.github.com/users/MagiCircles/gists{/gist_id}","starred_url":"https://api.github.com/users/MagiCircles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagiCircles/subscriptions","organizations_url":"https://api.github.com/users/MagiCircles/orgs","repos_url":"https://api.github.com/users/MagiCircles/repos","events_url":"https://api.github.com/users/MagiCircles/events{/privacy}","received_events_url":"https://api.github.com/users/MagiCircles/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MagiCircles/BanGDream","description":"Bandori Party - The BanG Dream! Girls Band Party Database & Community","fork":false,"url":"https://api.github.com/repos/MagiCircles/BanGDream","forks_url":"https://api.github.com/repos/MagiCircles/BanGDream/forks","keys_url":"https://api.github.com/repos/MagiCircles/BanGDream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MagiCircles/BanGDream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MagiCircles/BanGDream/teams","hooks_url":"https://api.github.com/repos/MagiCircles/BanGDream/hooks","issue_events_url":"https://api.github.com/repos/MagiCircles/BanGDream/issues/events{/number}","events_url":"https://api.github.com/repos/MagiCircles/BanGDream/events","assignees_url":"https://api.github.com/repos/MagiCircles/BanGDream/assignees{/user}","branches_url":"https://api.github.com/repos/MagiCircles/BanGDream/branches{/branch}","tags_url":"https://api.github.com/repos/MagiCircles/BanGDream/tags","blobs_url":"https://api.github.com/repos/MagiCircles/BanGDream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MagiCircles/BanGDream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MagiCircles/BanGDream/git/refs{/sha}","trees_url":"https://api.github.com/repos/MagiCircles/BanGDream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MagiCircles/BanGDream/statuses/{sha}","languages_url":"https://api.github.com/repos/MagiCircles/BanGDream/languages","stargazers_url":"https://api.github.com/repos/MagiCircles/BanGDream/stargazers","contributors_url":"https://api.github.com/repos/MagiCircles/BanGDream/contributors","subscribers_url":"https://api.github.com/repos/MagiCircles/BanGDream/subscribers","subscription_url":"https://api.github.com/repos/MagiCircles/BanGDream/subscription","commits_url":"https://api.github.com/repos/MagiCircles/BanGDream/commits{/sha}","git_commits_url":"https://api.github.com/repos/MagiCircles/BanGDream/git/commits{/sha}","comments_url":"https://api.github.com/repos/MagiCircles/BanGDream/comments{/number}","issue_comment_url":"https://api.github.com/repos/MagiCircles/BanGDream/issues/comments{/number}","contents_url":"https://api.github.com/repos/MagiCircles/BanGDream/contents/{+path}","compare_url":"https://api.github.com/repos/MagiCircles/BanGDream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MagiCircles/BanGDream/merges","archive_url":"https://api.github.com/repos/MagiCircles/BanGDream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MagiCircles/BanGDream/downloads","issues_url":"https://api.github.com/repos/MagiCircles/BanGDream/issues{/number}","pulls_url":"https://api.github.com/repos/MagiCircles/BanGDream/pulls{/number}","milestones_url":"https://api.github.com/repos/MagiCircles/BanGDream/milestones{/number}","notifications_url":"https://api.github.com/repos/MagiCircles/BanGDream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MagiCircles/BanGDream/labels{/name}","releases_url":"https://api.github.com/repos/MagiCircles/BanGDream/releases{/id}","deployments_url":"https://api.github.com/repos/MagiCircles/BanGDream/deployments","created_at":"2017-03-26T09:52:18Z","updated_at":"2018-04-23T13:40:05Z","pushed_at":"2018-04-23T21:46:31Z","git_url":"git://github.com/MagiCircles/BanGDream.git","ssh_url":"git@github.com:MagiCircles/BanGDream.git","clone_url":"https://github.com/MagiCircles/BanGDream.git","svn_url":"https://github.com/MagiCircles/BanGDream","homepage":"http://bandori.party/","size":2461,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":30,"license":null,"forks":1,"open_issues":30,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78"},"html":{"href":"https://github.com/MagiCircles/BanGDream/pull/78"},"issue":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/issues/78"},"comments":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/MagiCircles/BanGDream/statuses/6a0cef224fe6d6c1525243722e541f737a9c89fc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"summertriangle-dev"}}