{"action":"created","comment":{"url":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/comments/87715683","pull_request_review_id":8317788,"id":87715683,"diff_hunk":"@@ -9,6 +9,9 @@ Features\n * Added new function scoped fixture ``mailoutbox`` that gives access to\n   djangos ``mail.outbox``. The will clean/empty the ``mail.outbox`` to\n   assure that no old mails are still in the outbox.\n+* If ``django.contrib.sites`` is in your INSTALLED_APPS, Site cache will\n+  be cleared for each tests to avoid hitting cache and cause wrong site","path":"docs/changelog.rst","position":5,"original_position":5,"commit_id":"3e80f00900ceeb1a6d04d67b8ed4904fda3f84f9","original_commit_id":"3e80f00900ceeb1a6d04d67b8ed4904fda3f84f9","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"body":"s/hitting/hitting the/","created_at":"2016-11-13T16:27:49Z","updated_at":"2016-11-13T16:29:34Z","html_url":"https://github.com/pytest-dev/pytest-django/pull/323#discussion_r87715683","pull_request_url":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323","_links":{"self":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/comments/87715683"},"html":{"href":"https://github.com/pytest-dev/pytest-django/pull/323#discussion_r87715683"},"pull_request":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323"}}},"pull_request":{"url":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323","id":64945661,"html_url":"https://github.com/pytest-dev/pytest-django/pull/323","diff_url":"https://github.com/pytest-dev/pytest-django/pull/323.diff","patch_url":"https://github.com/pytest-dev/pytest-django/pull/323.patch","issue_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/323","number":323,"state":"open","locked":false,"title":"added autouse function scoped fixture that cleares django.contrib.sites.models.SITE_CACHE","user":{"login":"peterlauri","id":3514945,"avatar_url":"https://avatars.githubusercontent.com/u/3514945?v=3","gravatar_id":"","url":"https://api.github.com/users/peterlauri","html_url":"https://github.com/peterlauri","followers_url":"https://api.github.com/users/peterlauri/followers","following_url":"https://api.github.com/users/peterlauri/following{/other_user}","gists_url":"https://api.github.com/users/peterlauri/gists{/gist_id}","starred_url":"https://api.github.com/users/peterlauri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterlauri/subscriptions","organizations_url":"https://api.github.com/users/peterlauri/orgs","repos_url":"https://api.github.com/users/peterlauri/repos","events_url":"https://api.github.com/users/peterlauri/events{/privacy}","received_events_url":"https://api.github.com/users/peterlauri/received_events","type":"User","site_admin":false},"body":"Closes #322 \n","created_at":"2016-04-01T13:38:30Z","updated_at":"2016-11-13T16:29:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d33e466b535fc3ca08de5ed4dc2ff07c33db386","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323/commits","review_comments_url":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323/comments","review_comment_url":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/323/comments","statuses_url":"https://api.github.com/repos/pytest-dev/pytest-django/statuses/3e80f00900ceeb1a6d04d67b8ed4904fda3f84f9","head":{"label":"dolphinkiss:322_clear_site_cache_autouse_fixture","ref":"322_clear_site_cache_autouse_fixture","sha":"3e80f00900ceeb1a6d04d67b8ed4904fda3f84f9","user":{"login":"dolphinkiss","id":7247123,"avatar_url":"https://avatars.githubusercontent.com/u/7247123?v=3","gravatar_id":"","url":"https://api.github.com/users/dolphinkiss","html_url":"https://github.com/dolphinkiss","followers_url":"https://api.github.com/users/dolphinkiss/followers","following_url":"https://api.github.com/users/dolphinkiss/following{/other_user}","gists_url":"https://api.github.com/users/dolphinkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/dolphinkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolphinkiss/subscriptions","organizations_url":"https://api.github.com/users/dolphinkiss/orgs","repos_url":"https://api.github.com/users/dolphinkiss/repos","events_url":"https://api.github.com/users/dolphinkiss/events{/privacy}","received_events_url":"https://api.github.com/users/dolphinkiss/received_events","type":"Organization","site_admin":false},"repo":{"id":55231798,"name":"pytest-django","full_name":"dolphinkiss/pytest-django","owner":{"login":"dolphinkiss","id":7247123,"avatar_url":"https://avatars.githubusercontent.com/u/7247123?v=3","gravatar_id":"","url":"https://api.github.com/users/dolphinkiss","html_url":"https://github.com/dolphinkiss","followers_url":"https://api.github.com/users/dolphinkiss/followers","following_url":"https://api.github.com/users/dolphinkiss/following{/other_user}","gists_url":"https://api.github.com/users/dolphinkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/dolphinkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolphinkiss/subscriptions","organizations_url":"https://api.github.com/users/dolphinkiss/orgs","repos_url":"https://api.github.com/users/dolphinkiss/repos","events_url":"https://api.github.com/users/dolphinkiss/events{/privacy}","received_events_url":"https://api.github.com/users/dolphinkiss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dolphinkiss/pytest-django","description":"A Django plugin for pytest.","fork":true,"url":"https://api.github.com/repos/dolphinkiss/pytest-django","forks_url":"https://api.github.com/repos/dolphinkiss/pytest-django/forks","keys_url":"https://api.github.com/repos/dolphinkiss/pytest-django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dolphinkiss/pytest-django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dolphinkiss/pytest-django/teams","hooks_url":"https://api.github.com/repos/dolphinkiss/pytest-django/hooks","issue_events_url":"https://api.github.com/repos/dolphinkiss/pytest-django/issues/events{/number}","events_url":"https://api.github.com/repos/dolphinkiss/pytest-django/events","assignees_url":"https://api.github.com/repos/dolphinkiss/pytest-django/assignees{/user}","branches_url":"https://api.github.com/repos/dolphinkiss/pytest-django/branches{/branch}","tags_url":"https://api.github.com/repos/dolphinkiss/pytest-django/tags","blobs_url":"https://api.github.com/repos/dolphinkiss/pytest-django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dolphinkiss/pytest-django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dolphinkiss/pytest-django/git/refs{/sha}","trees_url":"https://api.github.com/repos/dolphinkiss/pytest-django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dolphinkiss/pytest-django/statuses/{sha}","languages_url":"https://api.github.com/repos/dolphinkiss/pytest-django/languages","stargazers_url":"https://api.github.com/repos/dolphinkiss/pytest-django/stargazers","contributors_url":"https://api.github.com/repos/dolphinkiss/pytest-django/contributors","subscribers_url":"https://api.github.com/repos/dolphinkiss/pytest-django/subscribers","subscription_url":"https://api.github.com/repos/dolphinkiss/pytest-django/subscription","commits_url":"https://api.github.com/repos/dolphinkiss/pytest-django/commits{/sha}","git_commits_url":"https://api.github.com/repos/dolphinkiss/pytest-django/git/commits{/sha}","comments_url":"https://api.github.com/repos/dolphinkiss/pytest-django/comments{/number}","issue_comment_url":"https://api.github.com/repos/dolphinkiss/pytest-django/issues/comments{/number}","contents_url":"https://api.github.com/repos/dolphinkiss/pytest-django/contents/{+path}","compare_url":"https://api.github.com/repos/dolphinkiss/pytest-django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dolphinkiss/pytest-django/merges","archive_url":"https://api.github.com/repos/dolphinkiss/pytest-django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dolphinkiss/pytest-django/downloads","issues_url":"https://api.github.com/repos/dolphinkiss/pytest-django/issues{/number}","pulls_url":"https://api.github.com/repos/dolphinkiss/pytest-django/pulls{/number}","milestones_url":"https://api.github.com/repos/dolphinkiss/pytest-django/milestones{/number}","notifications_url":"https://api.github.com/repos/dolphinkiss/pytest-django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dolphinkiss/pytest-django/labels{/name}","releases_url":"https://api.github.com/repos/dolphinkiss/pytest-django/releases{/id}","deployments_url":"https://api.github.com/repos/dolphinkiss/pytest-django/deployments","created_at":"2016-04-01T12:46:04Z","updated_at":"2016-04-01T12:46:06Z","pushed_at":"2016-11-13T14:10:14Z","git_url":"git://github.com/dolphinkiss/pytest-django.git","ssh_url":"git@github.com:dolphinkiss/pytest-django.git","clone_url":"https://github.com/dolphinkiss/pytest-django.git","svn_url":"https://github.com/dolphinkiss/pytest-django","homepage":"","size":1019,"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":"pytest-dev:master","ref":"master","sha":"274efdfd48e806830e08d003d93af1e6070eb2b3","user":{"login":"pytest-dev","id":8897583,"avatar_url":"https://avatars.githubusercontent.com/u/8897583?v=3","gravatar_id":"","url":"https://api.github.com/users/pytest-dev","html_url":"https://github.com/pytest-dev","followers_url":"https://api.github.com/users/pytest-dev/followers","following_url":"https://api.github.com/users/pytest-dev/following{/other_user}","gists_url":"https://api.github.com/users/pytest-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/pytest-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytest-dev/subscriptions","organizations_url":"https://api.github.com/users/pytest-dev/orgs","repos_url":"https://api.github.com/users/pytest-dev/repos","events_url":"https://api.github.com/users/pytest-dev/events{/privacy}","received_events_url":"https://api.github.com/users/pytest-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":2484397,"name":"pytest-django","full_name":"pytest-dev/pytest-django","owner":{"login":"pytest-dev","id":8897583,"avatar_url":"https://avatars.githubusercontent.com/u/8897583?v=3","gravatar_id":"","url":"https://api.github.com/users/pytest-dev","html_url":"https://github.com/pytest-dev","followers_url":"https://api.github.com/users/pytest-dev/followers","following_url":"https://api.github.com/users/pytest-dev/following{/other_user}","gists_url":"https://api.github.com/users/pytest-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/pytest-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytest-dev/subscriptions","organizations_url":"https://api.github.com/users/pytest-dev/orgs","repos_url":"https://api.github.com/users/pytest-dev/repos","events_url":"https://api.github.com/users/pytest-dev/events{/privacy}","received_events_url":"https://api.github.com/users/pytest-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pytest-dev/pytest-django","description":"A Django plugin for pytest.","fork":false,"url":"https://api.github.com/repos/pytest-dev/pytest-django","forks_url":"https://api.github.com/repos/pytest-dev/pytest-django/forks","keys_url":"https://api.github.com/repos/pytest-dev/pytest-django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytest-dev/pytest-django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytest-dev/pytest-django/teams","hooks_url":"https://api.github.com/repos/pytest-dev/pytest-django/hooks","issue_events_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/events{/number}","events_url":"https://api.github.com/repos/pytest-dev/pytest-django/events","assignees_url":"https://api.github.com/repos/pytest-dev/pytest-django/assignees{/user}","branches_url":"https://api.github.com/repos/pytest-dev/pytest-django/branches{/branch}","tags_url":"https://api.github.com/repos/pytest-dev/pytest-django/tags","blobs_url":"https://api.github.com/repos/pytest-dev/pytest-django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytest-dev/pytest-django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytest-dev/pytest-django/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytest-dev/pytest-django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytest-dev/pytest-django/statuses/{sha}","languages_url":"https://api.github.com/repos/pytest-dev/pytest-django/languages","stargazers_url":"https://api.github.com/repos/pytest-dev/pytest-django/stargazers","contributors_url":"https://api.github.com/repos/pytest-dev/pytest-django/contributors","subscribers_url":"https://api.github.com/repos/pytest-dev/pytest-django/subscribers","subscription_url":"https://api.github.com/repos/pytest-dev/pytest-django/subscription","commits_url":"https://api.github.com/repos/pytest-dev/pytest-django/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytest-dev/pytest-django/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytest-dev/pytest-django/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytest-dev/pytest-django/contents/{+path}","compare_url":"https://api.github.com/repos/pytest-dev/pytest-django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytest-dev/pytest-django/merges","archive_url":"https://api.github.com/repos/pytest-dev/pytest-django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytest-dev/pytest-django/downloads","issues_url":"https://api.github.com/repos/pytest-dev/pytest-django/issues{/number}","pulls_url":"https://api.github.com/repos/pytest-dev/pytest-django/pulls{/number}","milestones_url":"https://api.github.com/repos/pytest-dev/pytest-django/milestones{/number}","notifications_url":"https://api.github.com/repos/pytest-dev/pytest-django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytest-dev/pytest-django/labels{/name}","releases_url":"https://api.github.com/repos/pytest-dev/pytest-django/releases{/id}","deployments_url":"https://api.github.com/repos/pytest-dev/pytest-django/deployments","created_at":"2011-09-29T19:35:55Z","updated_at":"2016-11-10T10:09:18Z","pushed_at":"2016-11-13T14:10:15Z","git_url":"git://github.com/pytest-dev/pytest-django.git","ssh_url":"git@github.com:pytest-dev/pytest-django.git","clone_url":"https://github.com/pytest-dev/pytest-django.git","svn_url":"https://github.com/pytest-dev/pytest-django","homepage":"https://pytest-django.readthedocs.io/","size":1376,"stargazers_count":265,"watchers_count":265,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":133,"mirror_url":null,"open_issues_count":80,"forks":133,"open_issues":80,"watchers":265,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323"},"html":{"href":"https://github.com/pytest-dev/pytest-django/pull/323"},"issue":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/issues/323"},"comments":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/pytest-dev/pytest-django/statuses/3e80f00900ceeb1a6d04d67b8ed4904fda3f84f9"}}}}
{"actor":{"display_login":"blueyed"}}