{"action":"created","comment":{"url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/comments/23076146","id":23076146,"diff_hunk":"@@ -665,4 +666,15 @@ class Meta:\n     value = models.PositiveIntegerField(u'Значение', null=True)\n     percents = models.FloatField(u'Проценты', null=True)\n \n-    objects = GroupStatPercentageManager()\n\\ No newline at end of file\n+    objects = GroupStatPercentageManager()\n+\n+class GroupStatisticMembers(models.Model): #TODO назвать модель как следует (сейчас названа так потому что GroupStatistic уже есть)\n+    class Meta:\n+        verbose_name = \"Vkontakte group statistic\" #TODO аналогично\n+        verbose_name_plural = \"Vkontakte group statistics\" #TODO аналогично\n+        get_latest_by = 'id'\n+\n+    group = models.ForeignKey(Group, related_name='statistics')\n+\n+    members = models.IntegerField(editable=False) # strange, but there is possible negative values","path":"vkontakte_groups_statistic/models.py","position":24,"original_position":24,"commit_id":"ad52135d92925d021aa67d74e3b87c68466cb1d6","original_commit_id":"ad52135d92925d021aa67d74e3b87c68466cb1d6","user":{"login":"mcfoton","id":5016246,"avatar_url":"https://avatars.githubusercontent.com/u/5016246?v=3","gravatar_id":"","url":"https://api.github.com/users/mcfoton","html_url":"https://github.com/mcfoton","followers_url":"https://api.github.com/users/mcfoton/followers","following_url":"https://api.github.com/users/mcfoton/following{/other_user}","gists_url":"https://api.github.com/users/mcfoton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcfoton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcfoton/subscriptions","organizations_url":"https://api.github.com/users/mcfoton/orgs","repos_url":"https://api.github.com/users/mcfoton/repos","events_url":"https://api.github.com/users/mcfoton/events{/privacy}","received_events_url":"https://api.github.com/users/mcfoton/received_events","type":"User","site_admin":false},"body":"комментарий твой, вот отсюда https://github.com/ramusus/django-vkontakte-groups-statistic/blob/master/vkontakte_groups_statistic/models.py#L592\r\n\r\nпоменять тип с IntegerField на PositiveIntegerField","created_at":"2015-01-16T11:48:08Z","updated_at":"2015-01-16T11:48:08Z","html_url":"https://github.com/ramusus/django-vkontakte-groups-statistic/pull/1#discussion_r23076146","pull_request_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/comments/23076146"},"html":{"href":"https://github.com/ramusus/django-vkontakte-groups-statistic/pull/1#discussion_r23076146"},"pull_request":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1","id":27011992,"html_url":"https://github.com/ramusus/django-vkontakte-groups-statistic/pull/1","diff_url":"https://github.com/ramusus/django-vkontakte-groups-statistic/pull/1.diff","patch_url":"https://github.com/ramusus/django-vkontakte-groups-statistic/pull/1.patch","issue_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/issues/1","number":1,"state":"open","locked":false,"title":"Added new model and signals","user":{"login":"mcfoton","id":5016246,"avatar_url":"https://avatars.githubusercontent.com/u/5016246?v=3","gravatar_id":"","url":"https://api.github.com/users/mcfoton","html_url":"https://github.com/mcfoton","followers_url":"https://api.github.com/users/mcfoton/followers","following_url":"https://api.github.com/users/mcfoton/following{/other_user}","gists_url":"https://api.github.com/users/mcfoton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcfoton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcfoton/subscriptions","organizations_url":"https://api.github.com/users/mcfoton/orgs","repos_url":"https://api.github.com/users/mcfoton/repos","events_url":"https://api.github.com/users/mcfoton/events{/privacy}","received_events_url":"https://api.github.com/users/mcfoton/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-08T07:42:23Z","updated_at":"2015-01-16T11:48:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/issues/1/comments","statuses_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/statuses/ad52135d92925d021aa67d74e3b87c68466cb1d6","head":{"label":"mcfoton:master","ref":"master","sha":"ad52135d92925d021aa67d74e3b87c68466cb1d6","user":{"login":"mcfoton","id":5016246,"avatar_url":"https://avatars.githubusercontent.com/u/5016246?v=3","gravatar_id":"","url":"https://api.github.com/users/mcfoton","html_url":"https://github.com/mcfoton","followers_url":"https://api.github.com/users/mcfoton/followers","following_url":"https://api.github.com/users/mcfoton/following{/other_user}","gists_url":"https://api.github.com/users/mcfoton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcfoton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcfoton/subscriptions","organizations_url":"https://api.github.com/users/mcfoton/orgs","repos_url":"https://api.github.com/users/mcfoton/repos","events_url":"https://api.github.com/users/mcfoton/events{/privacy}","received_events_url":"https://api.github.com/users/mcfoton/received_events","type":"User","site_admin":false},"repo":{"id":26896765,"name":"django-vkontakte-groups-statistic","full_name":"mcfoton/django-vkontakte-groups-statistic","owner":{"login":"mcfoton","id":5016246,"avatar_url":"https://avatars.githubusercontent.com/u/5016246?v=3","gravatar_id":"","url":"https://api.github.com/users/mcfoton","html_url":"https://github.com/mcfoton","followers_url":"https://api.github.com/users/mcfoton/followers","following_url":"https://api.github.com/users/mcfoton/following{/other_user}","gists_url":"https://api.github.com/users/mcfoton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcfoton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcfoton/subscriptions","organizations_url":"https://api.github.com/users/mcfoton/orgs","repos_url":"https://api.github.com/users/mcfoton/repos","events_url":"https://api.github.com/users/mcfoton/events{/privacy}","received_events_url":"https://api.github.com/users/mcfoton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcfoton/django-vkontakte-groups-statistic","description":"Django implementation for vkontakte API Groups Statistic","fork":true,"url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic","forks_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/forks","keys_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/teams","hooks_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/hooks","issue_events_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/issues/events{/number}","events_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/events","assignees_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/assignees{/user}","branches_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/branches{/branch}","tags_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/tags","blobs_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/statuses/{sha}","languages_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/languages","stargazers_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/stargazers","contributors_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/contributors","subscribers_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/subscribers","subscription_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/subscription","commits_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/issues/comments/{number}","contents_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/contents/{+path}","compare_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/merges","archive_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/downloads","issues_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/issues{/number}","pulls_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/pulls{/number}","milestones_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/milestones{/number}","notifications_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/labels{/name}","releases_url":"https://api.github.com/repos/mcfoton/django-vkontakte-groups-statistic/releases{/id}","created_at":"2014-11-20T05:09:45Z","updated_at":"2015-01-08T07:40:15Z","pushed_at":"2015-01-08T07:40:15Z","git_url":"git://github.com/mcfoton/django-vkontakte-groups-statistic.git","ssh_url":"git@github.com:mcfoton/django-vkontakte-groups-statistic.git","clone_url":"https://github.com/mcfoton/django-vkontakte-groups-statistic.git","svn_url":"https://github.com/mcfoton/django-vkontakte-groups-statistic","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ramusus:master","ref":"master","sha":"23210fe13d3412d6614c8e79ef7ff9f8844ea5da","user":{"login":"ramusus","id":76971,"avatar_url":"https://avatars.githubusercontent.com/u/76971?v=3","gravatar_id":"","url":"https://api.github.com/users/ramusus","html_url":"https://github.com/ramusus","followers_url":"https://api.github.com/users/ramusus/followers","following_url":"https://api.github.com/users/ramusus/following{/other_user}","gists_url":"https://api.github.com/users/ramusus/gists{/gist_id}","starred_url":"https://api.github.com/users/ramusus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramusus/subscriptions","organizations_url":"https://api.github.com/users/ramusus/orgs","repos_url":"https://api.github.com/users/ramusus/repos","events_url":"https://api.github.com/users/ramusus/events{/privacy}","received_events_url":"https://api.github.com/users/ramusus/received_events","type":"User","site_admin":false},"repo":{"id":8801059,"name":"django-vkontakte-groups-statistic","full_name":"ramusus/django-vkontakte-groups-statistic","owner":{"login":"ramusus","id":76971,"avatar_url":"https://avatars.githubusercontent.com/u/76971?v=3","gravatar_id":"","url":"https://api.github.com/users/ramusus","html_url":"https://github.com/ramusus","followers_url":"https://api.github.com/users/ramusus/followers","following_url":"https://api.github.com/users/ramusus/following{/other_user}","gists_url":"https://api.github.com/users/ramusus/gists{/gist_id}","starred_url":"https://api.github.com/users/ramusus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramusus/subscriptions","organizations_url":"https://api.github.com/users/ramusus/orgs","repos_url":"https://api.github.com/users/ramusus/repos","events_url":"https://api.github.com/users/ramusus/events{/privacy}","received_events_url":"https://api.github.com/users/ramusus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ramusus/django-vkontakte-groups-statistic","description":"Django implementation for vkontakte API Groups Statistic","fork":false,"url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic","forks_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/forks","keys_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/teams","hooks_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/hooks","issue_events_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/issues/events{/number}","events_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/events","assignees_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/assignees{/user}","branches_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/branches{/branch}","tags_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/tags","blobs_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/statuses/{sha}","languages_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/languages","stargazers_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/stargazers","contributors_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/contributors","subscribers_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/subscribers","subscription_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/subscription","commits_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/issues/comments/{number}","contents_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/contents/{+path}","compare_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/merges","archive_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/downloads","issues_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/issues{/number}","pulls_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls{/number}","milestones_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/milestones{/number}","notifications_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/labels{/name}","releases_url":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/releases{/id}","created_at":"2013-03-15T14:27:10Z","updated_at":"2014-12-21T04:38:44Z","pushed_at":"2014-12-21T04:38:43Z","git_url":"git://github.com/ramusus/django-vkontakte-groups-statistic.git","ssh_url":"git@github.com:ramusus/django-vkontakte-groups-statistic.git","clone_url":"https://github.com/ramusus/django-vkontakte-groups-statistic.git","svn_url":"https://github.com/ramusus/django-vkontakte-groups-statistic","homepage":null,"size":317,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1"},"html":{"href":"https://github.com/ramusus/django-vkontakte-groups-statistic/pull/1"},"issue":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/issues/1"},"comments":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ramusus/django-vkontakte-groups-statistic/statuses/ad52135d92925d021aa67d74e3b87c68466cb1d6"}}}}