{"action":"created","comment":{"url":"https://api.github.com/repos/ndraper2/django-imager/pulls/comments/35476845","id":35476845,"diff_hunk":"@@ -0,0 +1,71 @@\n+from django.db import models\n+from django.utils.encoding import python_2_unicode_compatible\n+from imager_profile.models import ImagerProfile\n+from django.db.models.signals import post_delete\n+from django.dispatch import receiver\n+from django.contrib.auth.models import User\n+\n+\n+@python_2_unicode_compatible\n+class Photo(models.Model):\n+    file = models.ImageField(upload_to='photo_files/%Y-%m-%d')\n+    title = models.CharField(max_length=128,\n+                             help_text=\"What is your photo's title?\")\n+    description = models.TextField(help_text=\"Describe your photo.\")\n+    date_uploaded = models.DateField(auto_now_add=True)\n+    date_modified = models.DateField(auto_now=True)\n+    date_published = models.DateField(auto_now=True)","path":"imagersite/imager_images/models.py","position":17,"original_position":17,"commit_id":"32e8b1e0a6d1776cca9084e9304bbc08b89190da","original_commit_id":"32e8b1e0a6d1776cca9084e9304bbc08b89190da","user":{"login":"cewing","id":417109,"avatar_url":"https://avatars.githubusercontent.com/u/417109?v=3","gravatar_id":"","url":"https://api.github.com/users/cewing","html_url":"https://github.com/cewing","followers_url":"https://api.github.com/users/cewing/followers","following_url":"https://api.github.com/users/cewing/following{/other_user}","gists_url":"https://api.github.com/users/cewing/gists{/gist_id}","starred_url":"https://api.github.com/users/cewing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewing/subscriptions","organizations_url":"https://api.github.com/users/cewing/orgs","repos_url":"https://api.github.com/users/cewing/repos","events_url":"https://api.github.com/users/cewing/events{/privacy}","received_events_url":"https://api.github.com/users/cewing/received_events","type":"User","site_admin":false},"body":"I don't think you want this to be automatically set.  It should be set when the photo is set to 'public'","created_at":"2015-07-25T00:32:18Z","updated_at":"2015-07-25T00:32:18Z","html_url":"https://github.com/ndraper2/django-imager/pull/1#discussion_r35476845","pull_request_url":"https://api.github.com/repos/ndraper2/django-imager/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ndraper2/django-imager/pulls/comments/35476845"},"html":{"href":"https://github.com/ndraper2/django-imager/pull/1#discussion_r35476845"},"pull_request":{"href":"https://api.github.com/repos/ndraper2/django-imager/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ndraper2/django-imager/pulls/1","id":40818549,"html_url":"https://github.com/ndraper2/django-imager/pull/1","diff_url":"https://github.com/ndraper2/django-imager/pull/1.diff","patch_url":"https://github.com/ndraper2/django-imager/pull/1.patch","issue_url":"https://api.github.com/repos/ndraper2/django-imager/issues/1","number":1,"state":"open","locked":false,"title":"Models","user":{"login":"meslater1030","id":10873798,"avatar_url":"https://avatars.githubusercontent.com/u/10873798?v=3","gravatar_id":"","url":"https://api.github.com/users/meslater1030","html_url":"https://github.com/meslater1030","followers_url":"https://api.github.com/users/meslater1030/followers","following_url":"https://api.github.com/users/meslater1030/following{/other_user}","gists_url":"https://api.github.com/users/meslater1030/gists{/gist_id}","starred_url":"https://api.github.com/users/meslater1030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meslater1030/subscriptions","organizations_url":"https://api.github.com/users/meslater1030/orgs","repos_url":"https://api.github.com/users/meslater1030/repos","events_url":"https://api.github.com/users/meslater1030/events{/privacy}","received_events_url":"https://api.github.com/users/meslater1030/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-24T21:40:13Z","updated_at":"2015-07-25T00:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7e58b8dfbc1f3dcebdc659bd4aad935eda1c6a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ndraper2/django-imager/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ndraper2/django-imager/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ndraper2/django-imager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ndraper2/django-imager/issues/1/comments","statuses_url":"https://api.github.com/repos/ndraper2/django-imager/statuses/32e8b1e0a6d1776cca9084e9304bbc08b89190da","head":{"label":"ndraper2:models","ref":"models","sha":"32e8b1e0a6d1776cca9084e9304bbc08b89190da","user":{"login":"ndraper2","id":9891809,"avatar_url":"https://avatars.githubusercontent.com/u/9891809?v=3","gravatar_id":"","url":"https://api.github.com/users/ndraper2","html_url":"https://github.com/ndraper2","followers_url":"https://api.github.com/users/ndraper2/followers","following_url":"https://api.github.com/users/ndraper2/following{/other_user}","gists_url":"https://api.github.com/users/ndraper2/gists{/gist_id}","starred_url":"https://api.github.com/users/ndraper2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndraper2/subscriptions","organizations_url":"https://api.github.com/users/ndraper2/orgs","repos_url":"https://api.github.com/users/ndraper2/repos","events_url":"https://api.github.com/users/ndraper2/events{/privacy}","received_events_url":"https://api.github.com/users/ndraper2/received_events","type":"User","site_admin":false},"repo":{"id":39598232,"name":"django-imager","full_name":"ndraper2/django-imager","owner":{"login":"ndraper2","id":9891809,"avatar_url":"https://avatars.githubusercontent.com/u/9891809?v=3","gravatar_id":"","url":"https://api.github.com/users/ndraper2","html_url":"https://github.com/ndraper2","followers_url":"https://api.github.com/users/ndraper2/followers","following_url":"https://api.github.com/users/ndraper2/following{/other_user}","gists_url":"https://api.github.com/users/ndraper2/gists{/gist_id}","starred_url":"https://api.github.com/users/ndraper2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndraper2/subscriptions","organizations_url":"https://api.github.com/users/ndraper2/orgs","repos_url":"https://api.github.com/users/ndraper2/repos","events_url":"https://api.github.com/users/ndraper2/events{/privacy}","received_events_url":"https://api.github.com/users/ndraper2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ndraper2/django-imager","description":"","fork":false,"url":"https://api.github.com/repos/ndraper2/django-imager","forks_url":"https://api.github.com/repos/ndraper2/django-imager/forks","keys_url":"https://api.github.com/repos/ndraper2/django-imager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndraper2/django-imager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndraper2/django-imager/teams","hooks_url":"https://api.github.com/repos/ndraper2/django-imager/hooks","issue_events_url":"https://api.github.com/repos/ndraper2/django-imager/issues/events{/number}","events_url":"https://api.github.com/repos/ndraper2/django-imager/events","assignees_url":"https://api.github.com/repos/ndraper2/django-imager/assignees{/user}","branches_url":"https://api.github.com/repos/ndraper2/django-imager/branches{/branch}","tags_url":"https://api.github.com/repos/ndraper2/django-imager/tags","blobs_url":"https://api.github.com/repos/ndraper2/django-imager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndraper2/django-imager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndraper2/django-imager/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndraper2/django-imager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndraper2/django-imager/statuses/{sha}","languages_url":"https://api.github.com/repos/ndraper2/django-imager/languages","stargazers_url":"https://api.github.com/repos/ndraper2/django-imager/stargazers","contributors_url":"https://api.github.com/repos/ndraper2/django-imager/contributors","subscribers_url":"https://api.github.com/repos/ndraper2/django-imager/subscribers","subscription_url":"https://api.github.com/repos/ndraper2/django-imager/subscription","commits_url":"https://api.github.com/repos/ndraper2/django-imager/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndraper2/django-imager/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndraper2/django-imager/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndraper2/django-imager/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndraper2/django-imager/contents/{+path}","compare_url":"https://api.github.com/repos/ndraper2/django-imager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndraper2/django-imager/merges","archive_url":"https://api.github.com/repos/ndraper2/django-imager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndraper2/django-imager/downloads","issues_url":"https://api.github.com/repos/ndraper2/django-imager/issues{/number}","pulls_url":"https://api.github.com/repos/ndraper2/django-imager/pulls{/number}","milestones_url":"https://api.github.com/repos/ndraper2/django-imager/milestones{/number}","notifications_url":"https://api.github.com/repos/ndraper2/django-imager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndraper2/django-imager/labels{/name}","releases_url":"https://api.github.com/repos/ndraper2/django-imager/releases{/id}","created_at":"2015-07-23T22:57:54Z","updated_at":"2015-07-23T22:57:54Z","pushed_at":"2015-07-25T00:11:47Z","git_url":"git://github.com/ndraper2/django-imager.git","ssh_url":"git@github.com:ndraper2/django-imager.git","clone_url":"https://github.com/ndraper2/django-imager.git","svn_url":"https://github.com/ndraper2/django-imager","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ndraper2:master","ref":"master","sha":"765974e962d4bb8fcd46a8160a0392ad2ada2235","user":{"login":"ndraper2","id":9891809,"avatar_url":"https://avatars.githubusercontent.com/u/9891809?v=3","gravatar_id":"","url":"https://api.github.com/users/ndraper2","html_url":"https://github.com/ndraper2","followers_url":"https://api.github.com/users/ndraper2/followers","following_url":"https://api.github.com/users/ndraper2/following{/other_user}","gists_url":"https://api.github.com/users/ndraper2/gists{/gist_id}","starred_url":"https://api.github.com/users/ndraper2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndraper2/subscriptions","organizations_url":"https://api.github.com/users/ndraper2/orgs","repos_url":"https://api.github.com/users/ndraper2/repos","events_url":"https://api.github.com/users/ndraper2/events{/privacy}","received_events_url":"https://api.github.com/users/ndraper2/received_events","type":"User","site_admin":false},"repo":{"id":39598232,"name":"django-imager","full_name":"ndraper2/django-imager","owner":{"login":"ndraper2","id":9891809,"avatar_url":"https://avatars.githubusercontent.com/u/9891809?v=3","gravatar_id":"","url":"https://api.github.com/users/ndraper2","html_url":"https://github.com/ndraper2","followers_url":"https://api.github.com/users/ndraper2/followers","following_url":"https://api.github.com/users/ndraper2/following{/other_user}","gists_url":"https://api.github.com/users/ndraper2/gists{/gist_id}","starred_url":"https://api.github.com/users/ndraper2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndraper2/subscriptions","organizations_url":"https://api.github.com/users/ndraper2/orgs","repos_url":"https://api.github.com/users/ndraper2/repos","events_url":"https://api.github.com/users/ndraper2/events{/privacy}","received_events_url":"https://api.github.com/users/ndraper2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ndraper2/django-imager","description":"","fork":false,"url":"https://api.github.com/repos/ndraper2/django-imager","forks_url":"https://api.github.com/repos/ndraper2/django-imager/forks","keys_url":"https://api.github.com/repos/ndraper2/django-imager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndraper2/django-imager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndraper2/django-imager/teams","hooks_url":"https://api.github.com/repos/ndraper2/django-imager/hooks","issue_events_url":"https://api.github.com/repos/ndraper2/django-imager/issues/events{/number}","events_url":"https://api.github.com/repos/ndraper2/django-imager/events","assignees_url":"https://api.github.com/repos/ndraper2/django-imager/assignees{/user}","branches_url":"https://api.github.com/repos/ndraper2/django-imager/branches{/branch}","tags_url":"https://api.github.com/repos/ndraper2/django-imager/tags","blobs_url":"https://api.github.com/repos/ndraper2/django-imager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndraper2/django-imager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndraper2/django-imager/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndraper2/django-imager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndraper2/django-imager/statuses/{sha}","languages_url":"https://api.github.com/repos/ndraper2/django-imager/languages","stargazers_url":"https://api.github.com/repos/ndraper2/django-imager/stargazers","contributors_url":"https://api.github.com/repos/ndraper2/django-imager/contributors","subscribers_url":"https://api.github.com/repos/ndraper2/django-imager/subscribers","subscription_url":"https://api.github.com/repos/ndraper2/django-imager/subscription","commits_url":"https://api.github.com/repos/ndraper2/django-imager/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndraper2/django-imager/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndraper2/django-imager/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndraper2/django-imager/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndraper2/django-imager/contents/{+path}","compare_url":"https://api.github.com/repos/ndraper2/django-imager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndraper2/django-imager/merges","archive_url":"https://api.github.com/repos/ndraper2/django-imager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndraper2/django-imager/downloads","issues_url":"https://api.github.com/repos/ndraper2/django-imager/issues{/number}","pulls_url":"https://api.github.com/repos/ndraper2/django-imager/pulls{/number}","milestones_url":"https://api.github.com/repos/ndraper2/django-imager/milestones{/number}","notifications_url":"https://api.github.com/repos/ndraper2/django-imager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndraper2/django-imager/labels{/name}","releases_url":"https://api.github.com/repos/ndraper2/django-imager/releases{/id}","created_at":"2015-07-23T22:57:54Z","updated_at":"2015-07-23T22:57:54Z","pushed_at":"2015-07-25T00:11:47Z","git_url":"git://github.com/ndraper2/django-imager.git","ssh_url":"git@github.com:ndraper2/django-imager.git","clone_url":"https://github.com/ndraper2/django-imager.git","svn_url":"https://github.com/ndraper2/django-imager","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ndraper2/django-imager/pulls/1"},"html":{"href":"https://github.com/ndraper2/django-imager/pull/1"},"issue":{"href":"https://api.github.com/repos/ndraper2/django-imager/issues/1"},"comments":{"href":"https://api.github.com/repos/ndraper2/django-imager/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ndraper2/django-imager/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ndraper2/django-imager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ndraper2/django-imager/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ndraper2/django-imager/statuses/32e8b1e0a6d1776cca9084e9304bbc08b89190da"}}}}