{"action":"created","comment":{"url":"https://api.github.com/repos/django/djangoproject.com/pulls/comments/35565727","id":35565727,"diff_hunk":"@@ -0,0 +1,36 @@\n+from datetime import date, timedelta\n+\n+from django.test import TestCase\n+\n+from members.models import CorporateMember, DeveloperMember\n+\n+\n+class DeveloperMemberTests(TestCase):\n+    fixtures = ['members_test_data.json']","path":"members/test_models.py","position":9,"original_position":9,"commit_id":"b534f42546ea3df8a4035f216c1625a9623fc1ab","original_commit_id":"41e02a59c78f8e30a073186114228eaf02be9a67","user":{"login":"relekang","id":476364,"avatar_url":"https://avatars.githubusercontent.com/u/476364?v=3","gravatar_id":"","url":"https://api.github.com/users/relekang","html_url":"https://github.com/relekang","followers_url":"https://api.github.com/users/relekang/followers","following_url":"https://api.github.com/users/relekang/following{/other_user}","gists_url":"https://api.github.com/users/relekang/gists{/gist_id}","starred_url":"https://api.github.com/users/relekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relekang/subscriptions","organizations_url":"https://api.github.com/users/relekang/orgs","repos_url":"https://api.github.com/users/relekang/repos","events_url":"https://api.github.com/users/relekang/events{/privacy}","received_events_url":"https://api.github.com/users/relekang/received_events","type":"User","site_admin":false},"body":"and use `Model.objects.create()`?","created_at":"2015-07-27T17:58:42Z","updated_at":"2015-07-27T17:58:42Z","html_url":"https://github.com/django/djangoproject.com/pull/504#discussion_r35565727","pull_request_url":"https://api.github.com/repos/django/djangoproject.com/pulls/504","_links":{"self":{"href":"https://api.github.com/repos/django/djangoproject.com/pulls/comments/35565727"},"html":{"href":"https://github.com/django/djangoproject.com/pull/504#discussion_r35565727"},"pull_request":{"href":"https://api.github.com/repos/django/djangoproject.com/pulls/504"}}},"pull_request":{"url":"https://api.github.com/repos/django/djangoproject.com/pulls/504","id":40929338,"html_url":"https://github.com/django/djangoproject.com/pull/504","diff_url":"https://github.com/django/djangoproject.com/pull/504.diff","patch_url":"https://github.com/django/djangoproject.com/pull/504.patch","issue_url":"https://api.github.com/repos/django/djangoproject.com/issues/504","number":504,"state":"open","locked":false,"title":"Add models and list views in members app","user":{"login":"relekang","id":476364,"avatar_url":"https://avatars.githubusercontent.com/u/476364?v=3","gravatar_id":"","url":"https://api.github.com/users/relekang","html_url":"https://github.com/relekang","followers_url":"https://api.github.com/users/relekang/followers","following_url":"https://api.github.com/users/relekang/following{/other_user}","gists_url":"https://api.github.com/users/relekang/gists{/gist_id}","starred_url":"https://api.github.com/users/relekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relekang/subscriptions","organizations_url":"https://api.github.com/users/relekang/orgs","repos_url":"https://api.github.com/users/relekang/repos","events_url":"https://api.github.com/users/relekang/events{/privacy}","received_events_url":"https://api.github.com/users/relekang/received_events","type":"User","site_admin":false},"body":"This is the first part of the members app outlined in #362.\r\n\r\n* Adds model for developer members and corporate members.\r\n* Adds list views for both which lists current and former members.\r\n* Adds the models in the admin.","created_at":"2015-07-27T17:41:36Z","updated_at":"2015-07-27T17:58:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69f930a7ac793c3fba3fde09b182274b1ce8a20d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/djangoproject.com/pulls/504/commits","review_comments_url":"https://api.github.com/repos/django/djangoproject.com/pulls/504/comments","review_comment_url":"https://api.github.com/repos/django/djangoproject.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/djangoproject.com/issues/504/comments","statuses_url":"https://api.github.com/repos/django/djangoproject.com/statuses/b534f42546ea3df8a4035f216c1625a9623fc1ab","head":{"label":"relekang:members-app","ref":"members-app","sha":"b534f42546ea3df8a4035f216c1625a9623fc1ab","user":{"login":"relekang","id":476364,"avatar_url":"https://avatars.githubusercontent.com/u/476364?v=3","gravatar_id":"","url":"https://api.github.com/users/relekang","html_url":"https://github.com/relekang","followers_url":"https://api.github.com/users/relekang/followers","following_url":"https://api.github.com/users/relekang/following{/other_user}","gists_url":"https://api.github.com/users/relekang/gists{/gist_id}","starred_url":"https://api.github.com/users/relekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relekang/subscriptions","organizations_url":"https://api.github.com/users/relekang/orgs","repos_url":"https://api.github.com/users/relekang/repos","events_url":"https://api.github.com/users/relekang/events{/privacy}","received_events_url":"https://api.github.com/users/relekang/received_events","type":"User","site_admin":false},"repo":{"id":29235859,"name":"djangoproject.com","full_name":"relekang/djangoproject.com","owner":{"login":"relekang","id":476364,"avatar_url":"https://avatars.githubusercontent.com/u/476364?v=3","gravatar_id":"","url":"https://api.github.com/users/relekang","html_url":"https://github.com/relekang","followers_url":"https://api.github.com/users/relekang/followers","following_url":"https://api.github.com/users/relekang/following{/other_user}","gists_url":"https://api.github.com/users/relekang/gists{/gist_id}","starred_url":"https://api.github.com/users/relekang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relekang/subscriptions","organizations_url":"https://api.github.com/users/relekang/orgs","repos_url":"https://api.github.com/users/relekang/repos","events_url":"https://api.github.com/users/relekang/events{/privacy}","received_events_url":"https://api.github.com/users/relekang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/relekang/djangoproject.com","description":"Source code to djangoproject.com","fork":true,"url":"https://api.github.com/repos/relekang/djangoproject.com","forks_url":"https://api.github.com/repos/relekang/djangoproject.com/forks","keys_url":"https://api.github.com/repos/relekang/djangoproject.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relekang/djangoproject.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relekang/djangoproject.com/teams","hooks_url":"https://api.github.com/repos/relekang/djangoproject.com/hooks","issue_events_url":"https://api.github.com/repos/relekang/djangoproject.com/issues/events{/number}","events_url":"https://api.github.com/repos/relekang/djangoproject.com/events","assignees_url":"https://api.github.com/repos/relekang/djangoproject.com/assignees{/user}","branches_url":"https://api.github.com/repos/relekang/djangoproject.com/branches{/branch}","tags_url":"https://api.github.com/repos/relekang/djangoproject.com/tags","blobs_url":"https://api.github.com/repos/relekang/djangoproject.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relekang/djangoproject.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relekang/djangoproject.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/relekang/djangoproject.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relekang/djangoproject.com/statuses/{sha}","languages_url":"https://api.github.com/repos/relekang/djangoproject.com/languages","stargazers_url":"https://api.github.com/repos/relekang/djangoproject.com/stargazers","contributors_url":"https://api.github.com/repos/relekang/djangoproject.com/contributors","subscribers_url":"https://api.github.com/repos/relekang/djangoproject.com/subscribers","subscription_url":"https://api.github.com/repos/relekang/djangoproject.com/subscription","commits_url":"https://api.github.com/repos/relekang/djangoproject.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/relekang/djangoproject.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/relekang/djangoproject.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/relekang/djangoproject.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/relekang/djangoproject.com/contents/{+path}","compare_url":"https://api.github.com/repos/relekang/djangoproject.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relekang/djangoproject.com/merges","archive_url":"https://api.github.com/repos/relekang/djangoproject.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relekang/djangoproject.com/downloads","issues_url":"https://api.github.com/repos/relekang/djangoproject.com/issues{/number}","pulls_url":"https://api.github.com/repos/relekang/djangoproject.com/pulls{/number}","milestones_url":"https://api.github.com/repos/relekang/djangoproject.com/milestones{/number}","notifications_url":"https://api.github.com/repos/relekang/djangoproject.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relekang/djangoproject.com/labels{/name}","releases_url":"https://api.github.com/repos/relekang/djangoproject.com/releases{/id}","created_at":"2015-01-14T09:01:33Z","updated_at":"2015-04-06T13:56:00Z","pushed_at":"2015-07-27T17:51:37Z","git_url":"git://github.com/relekang/djangoproject.com.git","ssh_url":"git@github.com:relekang/djangoproject.com.git","clone_url":"https://github.com/relekang/djangoproject.com.git","svn_url":"https://github.com/relekang/djangoproject.com","homepage":"https://www.djangoproject.com/","size":14504,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"0da3d3f1271836f955230d4eb0797a6bdc8a56b6","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":690903,"name":"djangoproject.com","full_name":"django/djangoproject.com","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/djangoproject.com","description":"Source code to djangoproject.com","fork":false,"url":"https://api.github.com/repos/django/djangoproject.com","forks_url":"https://api.github.com/repos/django/djangoproject.com/forks","keys_url":"https://api.github.com/repos/django/djangoproject.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/djangoproject.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/djangoproject.com/teams","hooks_url":"https://api.github.com/repos/django/djangoproject.com/hooks","issue_events_url":"https://api.github.com/repos/django/djangoproject.com/issues/events{/number}","events_url":"https://api.github.com/repos/django/djangoproject.com/events","assignees_url":"https://api.github.com/repos/django/djangoproject.com/assignees{/user}","branches_url":"https://api.github.com/repos/django/djangoproject.com/branches{/branch}","tags_url":"https://api.github.com/repos/django/djangoproject.com/tags","blobs_url":"https://api.github.com/repos/django/djangoproject.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/djangoproject.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/djangoproject.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/djangoproject.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/djangoproject.com/statuses/{sha}","languages_url":"https://api.github.com/repos/django/djangoproject.com/languages","stargazers_url":"https://api.github.com/repos/django/djangoproject.com/stargazers","contributors_url":"https://api.github.com/repos/django/djangoproject.com/contributors","subscribers_url":"https://api.github.com/repos/django/djangoproject.com/subscribers","subscription_url":"https://api.github.com/repos/django/djangoproject.com/subscription","commits_url":"https://api.github.com/repos/django/djangoproject.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/djangoproject.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/djangoproject.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/djangoproject.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/djangoproject.com/contents/{+path}","compare_url":"https://api.github.com/repos/django/djangoproject.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/djangoproject.com/merges","archive_url":"https://api.github.com/repos/django/djangoproject.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/djangoproject.com/downloads","issues_url":"https://api.github.com/repos/django/djangoproject.com/issues{/number}","pulls_url":"https://api.github.com/repos/django/djangoproject.com/pulls{/number}","milestones_url":"https://api.github.com/repos/django/djangoproject.com/milestones{/number}","notifications_url":"https://api.github.com/repos/django/djangoproject.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/djangoproject.com/labels{/name}","releases_url":"https://api.github.com/repos/django/djangoproject.com/releases{/id}","created_at":"2010-05-28T11:27:09Z","updated_at":"2015-07-26T13:10:30Z","pushed_at":"2015-07-27T17:51:38Z","git_url":"git://github.com/django/djangoproject.com.git","ssh_url":"git@github.com:django/djangoproject.com.git","clone_url":"https://github.com/django/djangoproject.com.git","svn_url":"https://github.com/django/djangoproject.com","homepage":"https://www.djangoproject.com/","size":17554,"stargazers_count":502,"watchers_count":502,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":206,"mirror_url":null,"open_issues_count":37,"forks":206,"open_issues":37,"watchers":502,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/djangoproject.com/pulls/504"},"html":{"href":"https://github.com/django/djangoproject.com/pull/504"},"issue":{"href":"https://api.github.com/repos/django/djangoproject.com/issues/504"},"comments":{"href":"https://api.github.com/repos/django/djangoproject.com/issues/504/comments"},"review_comments":{"href":"https://api.github.com/repos/django/djangoproject.com/pulls/504/comments"},"review_comment":{"href":"https://api.github.com/repos/django/djangoproject.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/djangoproject.com/pulls/504/commits"},"statuses":{"href":"https://api.github.com/repos/django/djangoproject.com/statuses/b534f42546ea3df8a4035f216c1625a9623fc1ab"}}}}