{"action":"created","comment":{"url":"https://api.github.com/repos/python-dirbtuves/website/pulls/comments/36169306","id":36169306,"diff_hunk":"@@ -8,18 +8,27 @@\n \n \n class Project(models.Model):\n-    created = CreationDateTimeField()\n-    modified = ModificationDateTimeField()\n-    author = models.ForeignKey(User)\n-    slug = AutoSlugField(populate_from='title')\n-    title = models.CharField(_(\"Title\"), max_length=255)\n-    description = models.TextField(_(\"Description\"))\n+\tPROJECT_STATUS_CHOICES = (\n+\t\t('Proposed', _('Proposed')),\n+\t\t('In progress', _('In progress')), \n+\t\t('Suspended', _('Suspended')), \n+\t\t('Implemented', _('Implemented')),\n+\t)\n+\tcreated = CreationDateTimeField()\n+\tmodified = ModificationDateTimeField()\n+\tauthor = models.ForeignKey(User)\n+\tslug = AutoSlugField(populate_from='title')\n+\ttitle = models.CharField(_(\"Title\"), max_length=255)\n+\tdescription = models.TextField(_(\"Description\"))\n+\turl = models.URLField(_(\"URL\"), blank=True)\n+\tproject_status_description = models.TextField(_(\"Status Description\"), blank=True)\n+\tproject_status = models.CharField(max_length=50, choices=PROJECT_STATUS_CHOICES, default='Proposed') ","path":"pylab/core/models.py","position":24,"original_position":24,"commit_id":"2d8e8cb22da6355e1d173b133303d47239d750d2","original_commit_id":"2d8e8cb22da6355e1d173b133303d47239d750d2","user":{"login":"sirex","id":297583,"avatar_url":"https://avatars.githubusercontent.com/u/297583?v=3","gravatar_id":"","url":"https://api.github.com/users/sirex","html_url":"https://github.com/sirex","followers_url":"https://api.github.com/users/sirex/followers","following_url":"https://api.github.com/users/sirex/following{/other_user}","gists_url":"https://api.github.com/users/sirex/gists{/gist_id}","starred_url":"https://api.github.com/users/sirex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirex/subscriptions","organizations_url":"https://api.github.com/users/sirex/orgs","repos_url":"https://api.github.com/users/sirex/repos","events_url":"https://api.github.com/users/sirex/events{/privacy}","received_events_url":"https://api.github.com/users/sirex/received_events","type":"User","site_admin":false},"body":"There is no need to prefix `status_description` and `status` with `project_`, since these fields belong to `Project` model.","created_at":"2015-08-04T09:02:31Z","updated_at":"2015-08-04T09:02:31Z","html_url":"https://github.com/python-dirbtuves/website/pull/48#discussion_r36169306","pull_request_url":"https://api.github.com/repos/python-dirbtuves/website/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/python-dirbtuves/website/pulls/comments/36169306"},"html":{"href":"https://github.com/python-dirbtuves/website/pull/48#discussion_r36169306"},"pull_request":{"href":"https://api.github.com/repos/python-dirbtuves/website/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/python-dirbtuves/website/pulls/48","id":41546574,"html_url":"https://github.com/python-dirbtuves/website/pull/48","diff_url":"https://github.com/python-dirbtuves/website/pull/48.diff","patch_url":"https://github.com/python-dirbtuves/website/pull/48.patch","issue_url":"https://api.github.com/repos/python-dirbtuves/website/issues/48","number":48,"state":"open","locked":false,"title":"Add state fields. Implements #9.","user":{"login":"iakovleva","id":9444484,"avatar_url":"https://avatars.githubusercontent.com/u/9444484?v=3","gravatar_id":"","url":"https://api.github.com/users/iakovleva","html_url":"https://github.com/iakovleva","followers_url":"https://api.github.com/users/iakovleva/followers","following_url":"https://api.github.com/users/iakovleva/following{/other_user}","gists_url":"https://api.github.com/users/iakovleva/gists{/gist_id}","starred_url":"https://api.github.com/users/iakovleva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iakovleva/subscriptions","organizations_url":"https://api.github.com/users/iakovleva/orgs","repos_url":"https://api.github.com/users/iakovleva/repos","events_url":"https://api.github.com/users/iakovleva/events{/privacy}","received_events_url":"https://api.github.com/users/iakovleva/received_events","type":"User","site_admin":false},"body":"Not done:\r\n- Label is hardcoded, label class and color should change.\r\n- Check how project_detail template should be displayed.","created_at":"2015-08-04T08:45:16Z","updated_at":"2015-08-04T09:02:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acf0695371b6d8e10bf6e2834eac102db99b48e3","assignee":{"login":"iakovleva","id":9444484,"avatar_url":"https://avatars.githubusercontent.com/u/9444484?v=3","gravatar_id":"","url":"https://api.github.com/users/iakovleva","html_url":"https://github.com/iakovleva","followers_url":"https://api.github.com/users/iakovleva/followers","following_url":"https://api.github.com/users/iakovleva/following{/other_user}","gists_url":"https://api.github.com/users/iakovleva/gists{/gist_id}","starred_url":"https://api.github.com/users/iakovleva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iakovleva/subscriptions","organizations_url":"https://api.github.com/users/iakovleva/orgs","repos_url":"https://api.github.com/users/iakovleva/repos","events_url":"https://api.github.com/users/iakovleva/events{/privacy}","received_events_url":"https://api.github.com/users/iakovleva/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/python-dirbtuves/website/milestones/1","html_url":"https://github.com/python-dirbtuves/website/milestones/current-sprint","labels_url":"https://api.github.com/repos/python-dirbtuves/website/milestones/1/labels","id":1227388,"number":1,"title":"current-sprint","description":"","creator":{"login":"sirex","id":297583,"avatar_url":"https://avatars.githubusercontent.com/u/297583?v=3","gravatar_id":"","url":"https://api.github.com/users/sirex","html_url":"https://github.com/sirex","followers_url":"https://api.github.com/users/sirex/followers","following_url":"https://api.github.com/users/sirex/following{/other_user}","gists_url":"https://api.github.com/users/sirex/gists{/gist_id}","starred_url":"https://api.github.com/users/sirex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirex/subscriptions","organizations_url":"https://api.github.com/users/sirex/orgs","repos_url":"https://api.github.com/users/sirex/repos","events_url":"https://api.github.com/users/sirex/events{/privacy}","received_events_url":"https://api.github.com/users/sirex/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":1,"state":"open","created_at":"2015-07-27T12:39:55Z","updated_at":"2015-08-04T08:55:07Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/python-dirbtuves/website/pulls/48/commits","review_comments_url":"https://api.github.com/repos/python-dirbtuves/website/pulls/48/comments","review_comment_url":"https://api.github.com/repos/python-dirbtuves/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python-dirbtuves/website/issues/48/comments","statuses_url":"https://api.github.com/repos/python-dirbtuves/website/statuses/2d8e8cb22da6355e1d173b133303d47239d750d2","head":{"label":"python-dirbtuves:state-fields","ref":"state-fields","sha":"2d8e8cb22da6355e1d173b133303d47239d750d2","user":{"login":"python-dirbtuves","id":8415084,"avatar_url":"https://avatars.githubusercontent.com/u/8415084?v=3","gravatar_id":"","url":"https://api.github.com/users/python-dirbtuves","html_url":"https://github.com/python-dirbtuves","followers_url":"https://api.github.com/users/python-dirbtuves/followers","following_url":"https://api.github.com/users/python-dirbtuves/following{/other_user}","gists_url":"https://api.github.com/users/python-dirbtuves/gists{/gist_id}","starred_url":"https://api.github.com/users/python-dirbtuves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-dirbtuves/subscriptions","organizations_url":"https://api.github.com/users/python-dirbtuves/orgs","repos_url":"https://api.github.com/users/python-dirbtuves/repos","events_url":"https://api.github.com/users/python-dirbtuves/events{/privacy}","received_events_url":"https://api.github.com/users/python-dirbtuves/received_events","type":"Organization","site_admin":false},"repo":{"id":23392599,"name":"website","full_name":"python-dirbtuves/website","owner":{"login":"python-dirbtuves","id":8415084,"avatar_url":"https://avatars.githubusercontent.com/u/8415084?v=3","gravatar_id":"","url":"https://api.github.com/users/python-dirbtuves","html_url":"https://github.com/python-dirbtuves","followers_url":"https://api.github.com/users/python-dirbtuves/followers","following_url":"https://api.github.com/users/python-dirbtuves/following{/other_user}","gists_url":"https://api.github.com/users/python-dirbtuves/gists{/gist_id}","starred_url":"https://api.github.com/users/python-dirbtuves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-dirbtuves/subscriptions","organizations_url":"https://api.github.com/users/python-dirbtuves/orgs","repos_url":"https://api.github.com/users/python-dirbtuves/repos","events_url":"https://api.github.com/users/python-dirbtuves/events{/privacy}","received_events_url":"https://api.github.com/users/python-dirbtuves/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python-dirbtuves/website","description":"Python dirbtuvės project web site.","fork":false,"url":"https://api.github.com/repos/python-dirbtuves/website","forks_url":"https://api.github.com/repos/python-dirbtuves/website/forks","keys_url":"https://api.github.com/repos/python-dirbtuves/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-dirbtuves/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-dirbtuves/website/teams","hooks_url":"https://api.github.com/repos/python-dirbtuves/website/hooks","issue_events_url":"https://api.github.com/repos/python-dirbtuves/website/issues/events{/number}","events_url":"https://api.github.com/repos/python-dirbtuves/website/events","assignees_url":"https://api.github.com/repos/python-dirbtuves/website/assignees{/user}","branches_url":"https://api.github.com/repos/python-dirbtuves/website/branches{/branch}","tags_url":"https://api.github.com/repos/python-dirbtuves/website/tags","blobs_url":"https://api.github.com/repos/python-dirbtuves/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-dirbtuves/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-dirbtuves/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-dirbtuves/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-dirbtuves/website/statuses/{sha}","languages_url":"https://api.github.com/repos/python-dirbtuves/website/languages","stargazers_url":"https://api.github.com/repos/python-dirbtuves/website/stargazers","contributors_url":"https://api.github.com/repos/python-dirbtuves/website/contributors","subscribers_url":"https://api.github.com/repos/python-dirbtuves/website/subscribers","subscription_url":"https://api.github.com/repos/python-dirbtuves/website/subscription","commits_url":"https://api.github.com/repos/python-dirbtuves/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-dirbtuves/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-dirbtuves/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-dirbtuves/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-dirbtuves/website/contents/{+path}","compare_url":"https://api.github.com/repos/python-dirbtuves/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-dirbtuves/website/merges","archive_url":"https://api.github.com/repos/python-dirbtuves/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-dirbtuves/website/downloads","issues_url":"https://api.github.com/repos/python-dirbtuves/website/issues{/number}","pulls_url":"https://api.github.com/repos/python-dirbtuves/website/pulls{/number}","milestones_url":"https://api.github.com/repos/python-dirbtuves/website/milestones{/number}","notifications_url":"https://api.github.com/repos/python-dirbtuves/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-dirbtuves/website/labels{/name}","releases_url":"https://api.github.com/repos/python-dirbtuves/website/releases{/id}","created_at":"2014-08-27T14:28:29Z","updated_at":"2015-07-21T23:47:08Z","pushed_at":"2015-08-04T08:48:46Z","git_url":"git://github.com/python-dirbtuves/website.git","ssh_url":"git@github.com:python-dirbtuves/website.git","clone_url":"https://github.com/python-dirbtuves/website.git","svn_url":"https://github.com/python-dirbtuves/website","homepage":null,"size":400,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":2,"default_branch":"master"}},"base":{"label":"python-dirbtuves:master","ref":"master","sha":"1c000f421f35c24ecc80656f37ca30c3e6a47b83","user":{"login":"python-dirbtuves","id":8415084,"avatar_url":"https://avatars.githubusercontent.com/u/8415084?v=3","gravatar_id":"","url":"https://api.github.com/users/python-dirbtuves","html_url":"https://github.com/python-dirbtuves","followers_url":"https://api.github.com/users/python-dirbtuves/followers","following_url":"https://api.github.com/users/python-dirbtuves/following{/other_user}","gists_url":"https://api.github.com/users/python-dirbtuves/gists{/gist_id}","starred_url":"https://api.github.com/users/python-dirbtuves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-dirbtuves/subscriptions","organizations_url":"https://api.github.com/users/python-dirbtuves/orgs","repos_url":"https://api.github.com/users/python-dirbtuves/repos","events_url":"https://api.github.com/users/python-dirbtuves/events{/privacy}","received_events_url":"https://api.github.com/users/python-dirbtuves/received_events","type":"Organization","site_admin":false},"repo":{"id":23392599,"name":"website","full_name":"python-dirbtuves/website","owner":{"login":"python-dirbtuves","id":8415084,"avatar_url":"https://avatars.githubusercontent.com/u/8415084?v=3","gravatar_id":"","url":"https://api.github.com/users/python-dirbtuves","html_url":"https://github.com/python-dirbtuves","followers_url":"https://api.github.com/users/python-dirbtuves/followers","following_url":"https://api.github.com/users/python-dirbtuves/following{/other_user}","gists_url":"https://api.github.com/users/python-dirbtuves/gists{/gist_id}","starred_url":"https://api.github.com/users/python-dirbtuves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-dirbtuves/subscriptions","organizations_url":"https://api.github.com/users/python-dirbtuves/orgs","repos_url":"https://api.github.com/users/python-dirbtuves/repos","events_url":"https://api.github.com/users/python-dirbtuves/events{/privacy}","received_events_url":"https://api.github.com/users/python-dirbtuves/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python-dirbtuves/website","description":"Python dirbtuvės project web site.","fork":false,"url":"https://api.github.com/repos/python-dirbtuves/website","forks_url":"https://api.github.com/repos/python-dirbtuves/website/forks","keys_url":"https://api.github.com/repos/python-dirbtuves/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-dirbtuves/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-dirbtuves/website/teams","hooks_url":"https://api.github.com/repos/python-dirbtuves/website/hooks","issue_events_url":"https://api.github.com/repos/python-dirbtuves/website/issues/events{/number}","events_url":"https://api.github.com/repos/python-dirbtuves/website/events","assignees_url":"https://api.github.com/repos/python-dirbtuves/website/assignees{/user}","branches_url":"https://api.github.com/repos/python-dirbtuves/website/branches{/branch}","tags_url":"https://api.github.com/repos/python-dirbtuves/website/tags","blobs_url":"https://api.github.com/repos/python-dirbtuves/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-dirbtuves/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-dirbtuves/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-dirbtuves/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-dirbtuves/website/statuses/{sha}","languages_url":"https://api.github.com/repos/python-dirbtuves/website/languages","stargazers_url":"https://api.github.com/repos/python-dirbtuves/website/stargazers","contributors_url":"https://api.github.com/repos/python-dirbtuves/website/contributors","subscribers_url":"https://api.github.com/repos/python-dirbtuves/website/subscribers","subscription_url":"https://api.github.com/repos/python-dirbtuves/website/subscription","commits_url":"https://api.github.com/repos/python-dirbtuves/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-dirbtuves/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-dirbtuves/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-dirbtuves/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-dirbtuves/website/contents/{+path}","compare_url":"https://api.github.com/repos/python-dirbtuves/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-dirbtuves/website/merges","archive_url":"https://api.github.com/repos/python-dirbtuves/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-dirbtuves/website/downloads","issues_url":"https://api.github.com/repos/python-dirbtuves/website/issues{/number}","pulls_url":"https://api.github.com/repos/python-dirbtuves/website/pulls{/number}","milestones_url":"https://api.github.com/repos/python-dirbtuves/website/milestones{/number}","notifications_url":"https://api.github.com/repos/python-dirbtuves/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-dirbtuves/website/labels{/name}","releases_url":"https://api.github.com/repos/python-dirbtuves/website/releases{/id}","created_at":"2014-08-27T14:28:29Z","updated_at":"2015-07-21T23:47:08Z","pushed_at":"2015-08-04T08:48:46Z","git_url":"git://github.com/python-dirbtuves/website.git","ssh_url":"git@github.com:python-dirbtuves/website.git","clone_url":"https://github.com/python-dirbtuves/website.git","svn_url":"https://github.com/python-dirbtuves/website","homepage":null,"size":400,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python-dirbtuves/website/pulls/48"},"html":{"href":"https://github.com/python-dirbtuves/website/pull/48"},"issue":{"href":"https://api.github.com/repos/python-dirbtuves/website/issues/48"},"comments":{"href":"https://api.github.com/repos/python-dirbtuves/website/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/python-dirbtuves/website/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/python-dirbtuves/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python-dirbtuves/website/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/python-dirbtuves/website/statuses/2d8e8cb22da6355e1d173b133303d47239d750d2"}}}}