GitHub PullRequestReviewCommentEvent at 2014-12-30 04:11:27
Repository: django-mesh
Actor: SeanHayes
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/greyside/django-mesh/pulls/comments/22338258","id":22338258,"diff_hunk":"@@ -133,4 +134,45 @@ def get_absolute_url(self):\n         return reverse('mesh_post_view', args=(self.slug,))\n \n     class Meta:\n-        ordering = ['published']\n\\ No newline at end of file\n+        ordering = ['published']\n+\n+class File(models.Model):\n+\n+    MEDIA_TYPE = Choices(\n+        (0, 'NONE',       'none',),\n+        (1, 'IMAGE',      'image',),\n+        (2, 'VIDEO',      'video',),\n+    )\n+\n+    channel = models.ForeignKey(Channel)\n+    objects = FileQuerySet.as_manager()\n+\n+    slug = models.SlugField(unique=True)\n+\n+    upload_file = models.FileField(upload_to='uploads/%Y/%m/%d')\n+    name_of_file = models.CharField(max_length=120, blank=False, unique=True)","path":"django_mesh/models.py","position":39,"original_position":39,"commit_id":"b98a0f1cfecd4c9077c2e0c50caf61fdfcb0b9e8","original_commit_id":"b98a0f1cfecd4c9077c2e0c50caf61fdfcb0b9e8","user":{"login":"SeanHayes","id":134373,"avatar_url":"https://avatars.githubusercontent.com/u/134373?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanHayes","html_url":"https://github.com/SeanHayes","followers_url":"https://api.github.com/users/SeanHayes/followers","following_url":"https://api.github.com/users/SeanHayes/following{/other_user}","gists_url":"https://api.github.com/users/SeanHayes/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanHayes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanHayes/subscriptions","organizations_url":"https://api.github.com/users/SeanHayes/orgs","repos_url":"https://api.github.com/users/SeanHayes/repos","events_url":"https://api.github.com/users/SeanHayes/events{/privacy}","received_events_url":"https://api.github.com/users/SeanHayes/received_events","type":"User","site_admin":false},"body":"Could just be called \"name\". Also not sure if we need both this and the slug.","created_at":"2014-12-30T04:11:27Z","updated_at":"2014-12-30T04:11:27Z","html_url":"https://github.com/greyside/django-mesh/pull/40#discussion_r22338258","pull_request_url":"https://api.github.com/repos/greyside/django-mesh/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/greyside/django-mesh/pulls/comments/22338258"},"html":{"href":"https://github.com/greyside/django-mesh/pull/40#discussion_r22338258"},"pull_request":{"href":"https://api.github.com/repos/greyside/django-mesh/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/greyside/django-mesh/pulls/40","id":23109921,"html_url":"https://github.com/greyside/django-mesh/pull/40","diff_url":"https://github.com/greyside/django-mesh/pull/40.diff","patch_url":"https://github.com/greyside/django-mesh/pull/40.patch","issue_url":"https://api.github.com/repos/greyside/django-mesh/issues/40","number":40,"state":"open","locked":false,"title":"Upload","user":{"login":"HN23","id":3018905,"avatar_url":"https://avatars.githubusercontent.com/u/3018905?v=3","gravatar_id":"","url":"https://api.github.com/users/HN23","html_url":"https://github.com/HN23","followers_url":"https://api.github.com/users/HN23/followers","following_url":"https://api.github.com/users/HN23/following{/other_user}","gists_url":"https://api.github.com/users/HN23/gists{/gist_id}","starred_url":"https://api.github.com/users/HN23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HN23/subscriptions","organizations_url":"https://api.github.com/users/HN23/orgs","repos_url":"https://api.github.com/users/HN23/repos","events_url":"https://api.github.com/users/HN23/events{/privacy}","received_events_url":"https://api.github.com/users/HN23/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-10-21T19:11:56Z","updated_at":"2014-12-30T04:11:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d0ec7519d4a13a9ff4b9566b3c6f2b0d39b0adc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/greyside/django-mesh/pulls/40/commits","review_comments_url":"https://api.github.com/repos/greyside/django-mesh/pulls/40/comments","review_comment_url":"https://api.github.com/repos/greyside/django-mesh/pulls/comments/{number}","comments_url":"https://api.github.com/repos/greyside/django-mesh/issues/40/comments","statuses_url":"https://api.github.com/repos/greyside/django-mesh/statuses/b98a0f1cfecd4c9077c2e0c50caf61fdfcb0b9e8","head":{"label":"HN23:upload","ref":"upload","sha":"b98a0f1cfecd4c9077c2e0c50caf61fdfcb0b9e8","user":{"login":"HN23","id":3018905,"avatar_url":"https://avatars.githubusercontent.com/u/3018905?v=3","gravatar_id":"","url":"https://api.github.com/users/HN23","html_url":"https://github.com/HN23","followers_url":"https://api.github.com/users/HN23/followers","following_url":"https://api.github.com/users/HN23/following{/other_user}","gists_url":"https://api.github.com/users/HN23/gists{/gist_id}","starred_url":"https://api.github.com/users/HN23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HN23/subscriptions","organizations_url":"https://api.github.com/users/HN23/orgs","repos_url":"https://api.github.com/users/HN23/repos","events_url":"https://api.github.com/users/HN23/events{/privacy}","received_events_url":"https://api.github.com/users/HN23/received_events","type":"User","site_admin":false},"repo":{"id":22351469,"name":"django-mesh","full_name":"HN23/django-mesh","owner":{"login":"HN23","id":3018905,"avatar_url":"https://avatars.githubusercontent.com/u/3018905?v=3","gravatar_id":"","url":"https://api.github.com/users/HN23","html_url":"https://github.com/HN23","followers_url":"https://api.github.com/users/HN23/followers","following_url":"https://api.github.com/users/HN23/following{/other_user}","gists_url":"https://api.github.com/users/HN23/gists{/gist_id}","starred_url":"https://api.github.com/users/HN23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HN23/subscriptions","organizations_url":"https://api.github.com/users/HN23/orgs","repos_url":"https://api.github.com/users/HN23/repos","events_url":"https://api.github.com/users/HN23/events{/privacy}","received_events_url":"https://api.github.com/users/HN23/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HN23/django-mesh","description":"A Tumblr style blog app for Django. It's in the very early stages of development, but it's got basic functionality and tests.","fork":true,"url":"https://api.github.com/repos/HN23/django-mesh","forks_url":"https://api.github.com/repos/HN23/django-mesh/forks","keys_url":"https://api.github.com/repos/HN23/django-mesh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HN23/django-mesh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HN23/django-mesh/teams","hooks_url":"https://api.github.com/repos/HN23/django-mesh/hooks","issue_events_url":"https://api.github.com/repos/HN23/django-mesh/issues/events{/number}","events_url":"https://api.github.com/repos/HN23/django-mesh/events","assignees_url":"https://api.github.com/repos/HN23/django-mesh/assignees{/user}","branches_url":"https://api.github.com/repos/HN23/django-mesh/branches{/branch}","tags_url":"https://api.github.com/repos/HN23/django-mesh/tags","blobs_url":"https://api.github.com/repos/HN23/django-mesh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HN23/django-mesh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HN23/django-mesh/git/refs{/sha}","trees_url":"https://api.github.com/repos/HN23/django-mesh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HN23/django-mesh/statuses/{sha}","languages_url":"https://api.github.com/repos/HN23/django-mesh/languages","stargazers_url":"https://api.github.com/repos/HN23/django-mesh/stargazers","contributors_url":"https://api.github.com/repos/HN23/django-mesh/contributors","subscribers_url":"https://api.github.com/repos/HN23/django-mesh/subscribers","subscription_url":"https://api.github.com/repos/HN23/django-mesh/subscription","commits_url":"https://api.github.com/repos/HN23/django-mesh/commits{/sha}","git_commits_url":"https://api.github.com/repos/HN23/django-mesh/git/commits{/sha}","comments_url":"https://api.github.com/repos/HN23/django-mesh/comments{/number}","issue_comment_url":"https://api.github.com/repos/HN23/django-mesh/issues/comments/{number}","contents_url":"https://api.github.com/repos/HN23/django-mesh/contents/{+path}","compare_url":"https://api.github.com/repos/HN23/django-mesh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HN23/django-mesh/merges","archive_url":"https://api.github.com/repos/HN23/django-mesh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HN23/django-mesh/downloads","issues_url":"https://api.github.com/repos/HN23/django-mesh/issues{/number}","pulls_url":"https://api.github.com/repos/HN23/django-mesh/pulls{/number}","milestones_url":"https://api.github.com/repos/HN23/django-mesh/milestones{/number}","notifications_url":"https://api.github.com/repos/HN23/django-mesh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HN23/django-mesh/labels{/name}","releases_url":"https://api.github.com/repos/HN23/django-mesh/releases{/id}","created_at":"2014-07-28T17:31:52Z","updated_at":"2014-09-02T15:43:27Z","pushed_at":"2014-10-22T17:19:29Z","git_url":"git://github.com/HN23/django-mesh.git","ssh_url":"git@github.com:HN23/django-mesh.git","clone_url":"https://github.com/HN23/django-mesh.git","svn_url":"https://github.com/HN23/django-mesh","homepage":"","size":976,"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":"greyside:master","ref":"master","sha":"bc0d904010fc9c1768adb4c4c815140107e08fdc","user":{"login":"greyside","id":10077665,"avatar_url":"https://avatars.githubusercontent.com/u/10077665?v=3","gravatar_id":"","url":"https://api.github.com/users/greyside","html_url":"https://github.com/greyside","followers_url":"https://api.github.com/users/greyside/followers","following_url":"https://api.github.com/users/greyside/following{/other_user}","gists_url":"https://api.github.com/users/greyside/gists{/gist_id}","starred_url":"https://api.github.com/users/greyside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greyside/subscriptions","organizations_url":"https://api.github.com/users/greyside/orgs","repos_url":"https://api.github.com/users/greyside/repos","events_url":"https://api.github.com/users/greyside/events{/privacy}","received_events_url":"https://api.github.com/users/greyside/received_events","type":"Organization","site_admin":false},"repo":{"id":1270127,"name":"django-mesh","full_name":"greyside/django-mesh","owner":{"login":"greyside","id":10077665,"avatar_url":"https://avatars.githubusercontent.com/u/10077665?v=3","gravatar_id":"","url":"https://api.github.com/users/greyside","html_url":"https://github.com/greyside","followers_url":"https://api.github.com/users/greyside/followers","following_url":"https://api.github.com/users/greyside/following{/other_user}","gists_url":"https://api.github.com/users/greyside/gists{/gist_id}","starred_url":"https://api.github.com/users/greyside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greyside/subscriptions","organizations_url":"https://api.github.com/users/greyside/orgs","repos_url":"https://api.github.com/users/greyside/repos","events_url":"https://api.github.com/users/greyside/events{/privacy}","received_events_url":"https://api.github.com/users/greyside/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/greyside/django-mesh","description":"A Tumblr style blog app for Django. It's in the very early stages of development, but it's got basic functionality and tests.","fork":false,"url":"https://api.github.com/repos/greyside/django-mesh","forks_url":"https://api.github.com/repos/greyside/django-mesh/forks","keys_url":"https://api.github.com/repos/greyside/django-mesh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greyside/django-mesh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greyside/django-mesh/teams","hooks_url":"https://api.github.com/repos/greyside/django-mesh/hooks","issue_events_url":"https://api.github.com/repos/greyside/django-mesh/issues/events{/number}","events_url":"https://api.github.com/repos/greyside/django-mesh/events","assignees_url":"https://api.github.com/repos/greyside/django-mesh/assignees{/user}","branches_url":"https://api.github.com/repos/greyside/django-mesh/branches{/branch}","tags_url":"https://api.github.com/repos/greyside/django-mesh/tags","blobs_url":"https://api.github.com/repos/greyside/django-mesh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greyside/django-mesh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greyside/django-mesh/git/refs{/sha}","trees_url":"https://api.github.com/repos/greyside/django-mesh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greyside/django-mesh/statuses/{sha}","languages_url":"https://api.github.com/repos/greyside/django-mesh/languages","stargazers_url":"https://api.github.com/repos/greyside/django-mesh/stargazers","contributors_url":"https://api.github.com/repos/greyside/django-mesh/contributors","subscribers_url":"https://api.github.com/repos/greyside/django-mesh/subscribers","subscription_url":"https://api.github.com/repos/greyside/django-mesh/subscription","commits_url":"https://api.github.com/repos/greyside/django-mesh/commits{/sha}","git_commits_url":"https://api.github.com/repos/greyside/django-mesh/git/commits{/sha}","comments_url":"https://api.github.com/repos/greyside/django-mesh/comments{/number}","issue_comment_url":"https://api.github.com/repos/greyside/django-mesh/issues/comments/{number}","contents_url":"https://api.github.com/repos/greyside/django-mesh/contents/{+path}","compare_url":"https://api.github.com/repos/greyside/django-mesh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greyside/django-mesh/merges","archive_url":"https://api.github.com/repos/greyside/django-mesh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greyside/django-mesh/downloads","issues_url":"https://api.github.com/repos/greyside/django-mesh/issues{/number}","pulls_url":"https://api.github.com/repos/greyside/django-mesh/pulls{/number}","milestones_url":"https://api.github.com/repos/greyside/django-mesh/milestones{/number}","notifications_url":"https://api.github.com/repos/greyside/django-mesh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greyside/django-mesh/labels{/name}","releases_url":"https://api.github.com/repos/greyside/django-mesh/releases{/id}","created_at":"2011-01-19T07:54:00Z","updated_at":"2014-12-04T17:55:25Z","pushed_at":"2014-09-24T20:16:41Z","git_url":"git://github.com/greyside/django-mesh.git","ssh_url":"git@github.com:greyside/django-mesh.git","clone_url":"https://github.com/greyside/django-mesh.git","svn_url":"https://github.com/greyside/django-mesh","homepage":"","size":747,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greyside/django-mesh/pulls/40"},"html":{"href":"https://github.com/greyside/django-mesh/pull/40"},"issue":{"href":"https://api.github.com/repos/greyside/django-mesh/issues/40"},"comments":{"href":"https://api.github.com/repos/greyside/django-mesh/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/greyside/django-mesh/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/greyside/django-mesh/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/greyside/django-mesh/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/greyside/django-mesh/statuses/b98a0f1cfecd4c9077c2e0c50caf61fdfcb0b9e8"}}}}