{"action":"created","comment":{"url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/comments/33049371","id":33049371,"diff_hunk":"@@ -43,6 +44,8 @@ class Event(models.Model):\n     calendar = models.ForeignKey(Calendar, null=True, blank=True, verbose_name=_(\"calendar\"))\n     objects = EventManager()\n \n+    recent_start = models.TextField(null=True)","path":"schedule/models/events.py","position":12,"original_position":12,"commit_id":"e0e1f543052ec6072fc3d70cd0c43afea2a8b85b","original_commit_id":"e0e1f543052ec6072fc3d70cd0c43afea2a8b85b","user":{"login":"aleontiev","id":1815440,"avatar_url":"https://avatars.githubusercontent.com/u/1815440?v=3","gravatar_id":"","url":"https://api.github.com/users/aleontiev","html_url":"https://github.com/aleontiev","followers_url":"https://api.github.com/users/aleontiev/followers","following_url":"https://api.github.com/users/aleontiev/following{/other_user}","gists_url":"https://api.github.com/users/aleontiev/gists{/gist_id}","starred_url":"https://api.github.com/users/aleontiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleontiev/subscriptions","organizations_url":"https://api.github.com/users/aleontiev/orgs","repos_url":"https://api.github.com/users/aleontiev/repos","events_url":"https://api.github.com/users/aleontiev/events{/privacy}","received_events_url":"https://api.github.com/users/aleontiev/received_events","type":"User","site_admin":false},"body":"If you do need to represent an object, might be worth going for a `JSONField` here so that you dont need to worry about pickling/unpickling and so that the values are easier to debug at a glance after making a query against the event table.","created_at":"2015-06-23T14:52:32Z","updated_at":"2015-06-23T14:52:32Z","html_url":"https://github.com/AltSchool/django-scheduler/pull/5#discussion_r33049371","pull_request_url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/comments/33049371"},"html":{"href":"https://github.com/AltSchool/django-scheduler/pull/5#discussion_r33049371"},"pull_request":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/5","id":38266749,"html_url":"https://github.com/AltSchool/django-scheduler/pull/5","diff_url":"https://github.com/AltSchool/django-scheduler/pull/5.diff","patch_url":"https://github.com/AltSchool/django-scheduler/pull/5.patch","issue_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues/5","number":5,"state":"open","locked":false,"title":"Use memoized recent event start if possible","user":{"login":"fanwar","id":701511,"avatar_url":"https://avatars.githubusercontent.com/u/701511?v=3","gravatar_id":"","url":"https://api.github.com/users/fanwar","html_url":"https://github.com/fanwar","followers_url":"https://api.github.com/users/fanwar/followers","following_url":"https://api.github.com/users/fanwar/following{/other_user}","gists_url":"https://api.github.com/users/fanwar/gists{/gist_id}","starred_url":"https://api.github.com/users/fanwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanwar/subscriptions","organizations_url":"https://api.github.com/users/fanwar/orgs","repos_url":"https://api.github.com/users/fanwar/repos","events_url":"https://api.github.com/users/fanwar/events{/privacy}","received_events_url":"https://api.github.com/users/fanwar/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-22T19:25:58Z","updated_at":"2015-06-23T14:52:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb2fff6f05060dfb58e25c408aba886060c103f8","assignee":{"login":"aleontiev","id":1815440,"avatar_url":"https://avatars.githubusercontent.com/u/1815440?v=3","gravatar_id":"","url":"https://api.github.com/users/aleontiev","html_url":"https://github.com/aleontiev","followers_url":"https://api.github.com/users/aleontiev/followers","following_url":"https://api.github.com/users/aleontiev/following{/other_user}","gists_url":"https://api.github.com/users/aleontiev/gists{/gist_id}","starred_url":"https://api.github.com/users/aleontiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleontiev/subscriptions","organizations_url":"https://api.github.com/users/aleontiev/orgs","repos_url":"https://api.github.com/users/aleontiev/repos","events_url":"https://api.github.com/users/aleontiev/events{/privacy}","received_events_url":"https://api.github.com/users/aleontiev/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/5/commits","review_comments_url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/5/comments","review_comment_url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues/5/comments","statuses_url":"https://api.github.com/repos/AltSchool/django-scheduler/statuses/e0e1f543052ec6072fc3d70cd0c43afea2a8b85b","head":{"label":"AltSchool:faisal/osfifone-1100_memoize_events","ref":"faisal/osfifone-1100_memoize_events","sha":"e0e1f543052ec6072fc3d70cd0c43afea2a8b85b","user":{"login":"AltSchool","id":4924852,"avatar_url":"https://avatars.githubusercontent.com/u/4924852?v=3","gravatar_id":"","url":"https://api.github.com/users/AltSchool","html_url":"https://github.com/AltSchool","followers_url":"https://api.github.com/users/AltSchool/followers","following_url":"https://api.github.com/users/AltSchool/following{/other_user}","gists_url":"https://api.github.com/users/AltSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/AltSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltSchool/subscriptions","organizations_url":"https://api.github.com/users/AltSchool/orgs","repos_url":"https://api.github.com/users/AltSchool/repos","events_url":"https://api.github.com/users/AltSchool/events{/privacy}","received_events_url":"https://api.github.com/users/AltSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":24729127,"name":"django-scheduler","full_name":"AltSchool/django-scheduler","owner":{"login":"AltSchool","id":4924852,"avatar_url":"https://avatars.githubusercontent.com/u/4924852?v=3","gravatar_id":"","url":"https://api.github.com/users/AltSchool","html_url":"https://github.com/AltSchool","followers_url":"https://api.github.com/users/AltSchool/followers","following_url":"https://api.github.com/users/AltSchool/following{/other_user}","gists_url":"https://api.github.com/users/AltSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/AltSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltSchool/subscriptions","organizations_url":"https://api.github.com/users/AltSchool/orgs","repos_url":"https://api.github.com/users/AltSchool/repos","events_url":"https://api.github.com/users/AltSchool/events{/privacy}","received_events_url":"https://api.github.com/users/AltSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AltSchool/django-scheduler","description":"","fork":false,"url":"https://api.github.com/repos/AltSchool/django-scheduler","forks_url":"https://api.github.com/repos/AltSchool/django-scheduler/forks","keys_url":"https://api.github.com/repos/AltSchool/django-scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AltSchool/django-scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AltSchool/django-scheduler/teams","hooks_url":"https://api.github.com/repos/AltSchool/django-scheduler/hooks","issue_events_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/AltSchool/django-scheduler/events","assignees_url":"https://api.github.com/repos/AltSchool/django-scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/AltSchool/django-scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/AltSchool/django-scheduler/tags","blobs_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AltSchool/django-scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/AltSchool/django-scheduler/languages","stargazers_url":"https://api.github.com/repos/AltSchool/django-scheduler/stargazers","contributors_url":"https://api.github.com/repos/AltSchool/django-scheduler/contributors","subscribers_url":"https://api.github.com/repos/AltSchool/django-scheduler/subscribers","subscription_url":"https://api.github.com/repos/AltSchool/django-scheduler/subscription","commits_url":"https://api.github.com/repos/AltSchool/django-scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/AltSchool/django-scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/AltSchool/django-scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/AltSchool/django-scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AltSchool/django-scheduler/merges","archive_url":"https://api.github.com/repos/AltSchool/django-scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AltSchool/django-scheduler/downloads","issues_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/AltSchool/django-scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/AltSchool/django-scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AltSchool/django-scheduler/labels{/name}","releases_url":"https://api.github.com/repos/AltSchool/django-scheduler/releases{/id}","created_at":"2014-10-02T17:33:24Z","updated_at":"2015-04-01T00:06:15Z","pushed_at":"2015-06-23T14:08:33Z","git_url":"git://github.com/AltSchool/django-scheduler.git","ssh_url":"git@github.com:AltSchool/django-scheduler.git","clone_url":"https://github.com/AltSchool/django-scheduler.git","svn_url":"https://github.com/AltSchool/django-scheduler","homepage":null,"size":505,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"AltSchool:master","ref":"master","sha":"94d52796429943df0c142b589a6734f25f958c9b","user":{"login":"AltSchool","id":4924852,"avatar_url":"https://avatars.githubusercontent.com/u/4924852?v=3","gravatar_id":"","url":"https://api.github.com/users/AltSchool","html_url":"https://github.com/AltSchool","followers_url":"https://api.github.com/users/AltSchool/followers","following_url":"https://api.github.com/users/AltSchool/following{/other_user}","gists_url":"https://api.github.com/users/AltSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/AltSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltSchool/subscriptions","organizations_url":"https://api.github.com/users/AltSchool/orgs","repos_url":"https://api.github.com/users/AltSchool/repos","events_url":"https://api.github.com/users/AltSchool/events{/privacy}","received_events_url":"https://api.github.com/users/AltSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":24729127,"name":"django-scheduler","full_name":"AltSchool/django-scheduler","owner":{"login":"AltSchool","id":4924852,"avatar_url":"https://avatars.githubusercontent.com/u/4924852?v=3","gravatar_id":"","url":"https://api.github.com/users/AltSchool","html_url":"https://github.com/AltSchool","followers_url":"https://api.github.com/users/AltSchool/followers","following_url":"https://api.github.com/users/AltSchool/following{/other_user}","gists_url":"https://api.github.com/users/AltSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/AltSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltSchool/subscriptions","organizations_url":"https://api.github.com/users/AltSchool/orgs","repos_url":"https://api.github.com/users/AltSchool/repos","events_url":"https://api.github.com/users/AltSchool/events{/privacy}","received_events_url":"https://api.github.com/users/AltSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AltSchool/django-scheduler","description":"","fork":false,"url":"https://api.github.com/repos/AltSchool/django-scheduler","forks_url":"https://api.github.com/repos/AltSchool/django-scheduler/forks","keys_url":"https://api.github.com/repos/AltSchool/django-scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AltSchool/django-scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AltSchool/django-scheduler/teams","hooks_url":"https://api.github.com/repos/AltSchool/django-scheduler/hooks","issue_events_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/AltSchool/django-scheduler/events","assignees_url":"https://api.github.com/repos/AltSchool/django-scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/AltSchool/django-scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/AltSchool/django-scheduler/tags","blobs_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AltSchool/django-scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/AltSchool/django-scheduler/languages","stargazers_url":"https://api.github.com/repos/AltSchool/django-scheduler/stargazers","contributors_url":"https://api.github.com/repos/AltSchool/django-scheduler/contributors","subscribers_url":"https://api.github.com/repos/AltSchool/django-scheduler/subscribers","subscription_url":"https://api.github.com/repos/AltSchool/django-scheduler/subscription","commits_url":"https://api.github.com/repos/AltSchool/django-scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/AltSchool/django-scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/AltSchool/django-scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/AltSchool/django-scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/AltSchool/django-scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AltSchool/django-scheduler/merges","archive_url":"https://api.github.com/repos/AltSchool/django-scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AltSchool/django-scheduler/downloads","issues_url":"https://api.github.com/repos/AltSchool/django-scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/AltSchool/django-scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/AltSchool/django-scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/AltSchool/django-scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AltSchool/django-scheduler/labels{/name}","releases_url":"https://api.github.com/repos/AltSchool/django-scheduler/releases{/id}","created_at":"2014-10-02T17:33:24Z","updated_at":"2015-04-01T00:06:15Z","pushed_at":"2015-06-23T14:08:33Z","git_url":"git://github.com/AltSchool/django-scheduler.git","ssh_url":"git@github.com:AltSchool/django-scheduler.git","clone_url":"https://github.com/AltSchool/django-scheduler.git","svn_url":"https://github.com/AltSchool/django-scheduler","homepage":null,"size":505,"stargazers_count":0,"watchers_count":0,"language":"Python","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/AltSchool/django-scheduler/pulls/5"},"html":{"href":"https://github.com/AltSchool/django-scheduler/pull/5"},"issue":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/issues/5"},"comments":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/AltSchool/django-scheduler/statuses/e0e1f543052ec6072fc3d70cd0c43afea2a8b85b"}}}}