{"action":"created","comment":{"url":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/comments/31106990","id":31106990,"diff_hunk":"@@ -4,15 +4,24 @@\n \n from .models import Book, BookSpecimen\n from .utils import fetch_from_openlibrary, load_from_moccam_csv, load_unimarc\n+from  django.core.exceptions import ValidationError\n \n \n class BookSpecimenForm(forms.ModelForm):\n+    \n+    def clean_spfile(self):","path":"ideasbox/library/forms.py","position":9,"original_position":9,"commit_id":"1bd8c56ef932c077165446b26b489c2dd7c27986","original_commit_id":"1bd8c56ef932c077165446b26b489c2dd7c27986","user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"body":"what's `sp` in `spfile`? Please use readable names :)","created_at":"2015-05-27T06:42:50Z","updated_at":"2015-05-27T06:42:50Z","html_url":"https://github.com/ideas-box/ideasbox.lan/pull/137#discussion_r31106990","pull_request_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/comments/31106990"},"html":{"href":"https://github.com/ideas-box/ideasbox.lan/pull/137#discussion_r31106990"},"pull_request":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137","id":33171997,"html_url":"https://github.com/ideas-box/ideasbox.lan/pull/137","diff_url":"https://github.com/ideas-box/ideasbox.lan/pull/137.diff","patch_url":"https://github.com/ideas-box/ideasbox.lan/pull/137.patch","issue_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/issues/137","number":137,"state":"open","locked":false,"title":"Add ebook","user":{"login":"Duy22","id":9204030,"avatar_url":"https://avatars.githubusercontent.com/u/9204030?v=3","gravatar_id":"","url":"https://api.github.com/users/Duy22","html_url":"https://github.com/Duy22","followers_url":"https://api.github.com/users/Duy22/followers","following_url":"https://api.github.com/users/Duy22/following{/other_user}","gists_url":"https://api.github.com/users/Duy22/gists{/gist_id}","starred_url":"https://api.github.com/users/Duy22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duy22/subscriptions","organizations_url":"https://api.github.com/users/Duy22/orgs","repos_url":"https://api.github.com/users/Duy22/repos","events_url":"https://api.github.com/users/Duy22/events{/privacy}","received_events_url":"https://api.github.com/users/Duy22/received_events","type":"User","site_admin":false},"body":"I Rebased to 'master' from your repo and merged with 'add_book'","created_at":"2015-04-13T15:04:58Z","updated_at":"2015-05-27T06:42:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86f943020522e5780134c1925788c32aaf34b694","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137/commits","review_comments_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137/comments","review_comment_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/issues/137/comments","statuses_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/statuses/1bd8c56ef932c077165446b26b489c2dd7c27986","head":{"label":"Duy22:master","ref":"master","sha":"1bd8c56ef932c077165446b26b489c2dd7c27986","user":{"login":"Duy22","id":9204030,"avatar_url":"https://avatars.githubusercontent.com/u/9204030?v=3","gravatar_id":"","url":"https://api.github.com/users/Duy22","html_url":"https://github.com/Duy22","followers_url":"https://api.github.com/users/Duy22/followers","following_url":"https://api.github.com/users/Duy22/following{/other_user}","gists_url":"https://api.github.com/users/Duy22/gists{/gist_id}","starred_url":"https://api.github.com/users/Duy22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duy22/subscriptions","organizations_url":"https://api.github.com/users/Duy22/orgs","repos_url":"https://api.github.com/users/Duy22/repos","events_url":"https://api.github.com/users/Duy22/events{/privacy}","received_events_url":"https://api.github.com/users/Duy22/received_events","type":"User","site_admin":false},"repo":{"id":32687220,"name":"ideasbox.lan","full_name":"Duy22/ideasbox.lan","owner":{"login":"Duy22","id":9204030,"avatar_url":"https://avatars.githubusercontent.com/u/9204030?v=3","gravatar_id":"","url":"https://api.github.com/users/Duy22","html_url":"https://github.com/Duy22","followers_url":"https://api.github.com/users/Duy22/followers","following_url":"https://api.github.com/users/Duy22/following{/other_user}","gists_url":"https://api.github.com/users/Duy22/gists{/gist_id}","starred_url":"https://api.github.com/users/Duy22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duy22/subscriptions","organizations_url":"https://api.github.com/users/Duy22/orgs","repos_url":"https://api.github.com/users/Duy22/repos","events_url":"https://api.github.com/users/Duy22/events{/privacy}","received_events_url":"https://api.github.com/users/Duy22/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Duy22/ideasbox.lan","description":"Ideas Box server core application","fork":true,"url":"https://api.github.com/repos/Duy22/ideasbox.lan","forks_url":"https://api.github.com/repos/Duy22/ideasbox.lan/forks","keys_url":"https://api.github.com/repos/Duy22/ideasbox.lan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Duy22/ideasbox.lan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Duy22/ideasbox.lan/teams","hooks_url":"https://api.github.com/repos/Duy22/ideasbox.lan/hooks","issue_events_url":"https://api.github.com/repos/Duy22/ideasbox.lan/issues/events{/number}","events_url":"https://api.github.com/repos/Duy22/ideasbox.lan/events","assignees_url":"https://api.github.com/repos/Duy22/ideasbox.lan/assignees{/user}","branches_url":"https://api.github.com/repos/Duy22/ideasbox.lan/branches{/branch}","tags_url":"https://api.github.com/repos/Duy22/ideasbox.lan/tags","blobs_url":"https://api.github.com/repos/Duy22/ideasbox.lan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Duy22/ideasbox.lan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Duy22/ideasbox.lan/git/refs{/sha}","trees_url":"https://api.github.com/repos/Duy22/ideasbox.lan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Duy22/ideasbox.lan/statuses/{sha}","languages_url":"https://api.github.com/repos/Duy22/ideasbox.lan/languages","stargazers_url":"https://api.github.com/repos/Duy22/ideasbox.lan/stargazers","contributors_url":"https://api.github.com/repos/Duy22/ideasbox.lan/contributors","subscribers_url":"https://api.github.com/repos/Duy22/ideasbox.lan/subscribers","subscription_url":"https://api.github.com/repos/Duy22/ideasbox.lan/subscription","commits_url":"https://api.github.com/repos/Duy22/ideasbox.lan/commits{/sha}","git_commits_url":"https://api.github.com/repos/Duy22/ideasbox.lan/git/commits{/sha}","comments_url":"https://api.github.com/repos/Duy22/ideasbox.lan/comments{/number}","issue_comment_url":"https://api.github.com/repos/Duy22/ideasbox.lan/issues/comments{/number}","contents_url":"https://api.github.com/repos/Duy22/ideasbox.lan/contents/{+path}","compare_url":"https://api.github.com/repos/Duy22/ideasbox.lan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Duy22/ideasbox.lan/merges","archive_url":"https://api.github.com/repos/Duy22/ideasbox.lan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Duy22/ideasbox.lan/downloads","issues_url":"https://api.github.com/repos/Duy22/ideasbox.lan/issues{/number}","pulls_url":"https://api.github.com/repos/Duy22/ideasbox.lan/pulls{/number}","milestones_url":"https://api.github.com/repos/Duy22/ideasbox.lan/milestones{/number}","notifications_url":"https://api.github.com/repos/Duy22/ideasbox.lan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Duy22/ideasbox.lan/labels{/name}","releases_url":"https://api.github.com/repos/Duy22/ideasbox.lan/releases{/id}","created_at":"2015-03-22T17:46:08Z","updated_at":"2015-04-13T14:59:43Z","pushed_at":"2015-05-21T12:24:51Z","git_url":"git://github.com/Duy22/ideasbox.lan.git","ssh_url":"git@github.com:Duy22/ideasbox.lan.git","clone_url":"https://github.com/Duy22/ideasbox.lan.git","svn_url":"https://github.com/Duy22/ideasbox.lan","homepage":"","size":8535,"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":"ideas-box:master","ref":"master","sha":"6614a1bca77762ad19c4f649484c3b881e7d7885","user":{"login":"ideas-box","id":9719862,"avatar_url":"https://avatars.githubusercontent.com/u/9719862?v=3","gravatar_id":"","url":"https://api.github.com/users/ideas-box","html_url":"https://github.com/ideas-box","followers_url":"https://api.github.com/users/ideas-box/followers","following_url":"https://api.github.com/users/ideas-box/following{/other_user}","gists_url":"https://api.github.com/users/ideas-box/gists{/gist_id}","starred_url":"https://api.github.com/users/ideas-box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideas-box/subscriptions","organizations_url":"https://api.github.com/users/ideas-box/orgs","repos_url":"https://api.github.com/users/ideas-box/repos","events_url":"https://api.github.com/users/ideas-box/events{/privacy}","received_events_url":"https://api.github.com/users/ideas-box/received_events","type":"Organization","site_admin":false},"repo":{"id":26708471,"name":"ideasbox.lan","full_name":"ideas-box/ideasbox.lan","owner":{"login":"ideas-box","id":9719862,"avatar_url":"https://avatars.githubusercontent.com/u/9719862?v=3","gravatar_id":"","url":"https://api.github.com/users/ideas-box","html_url":"https://github.com/ideas-box","followers_url":"https://api.github.com/users/ideas-box/followers","following_url":"https://api.github.com/users/ideas-box/following{/other_user}","gists_url":"https://api.github.com/users/ideas-box/gists{/gist_id}","starred_url":"https://api.github.com/users/ideas-box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideas-box/subscriptions","organizations_url":"https://api.github.com/users/ideas-box/orgs","repos_url":"https://api.github.com/users/ideas-box/repos","events_url":"https://api.github.com/users/ideas-box/events{/privacy}","received_events_url":"https://api.github.com/users/ideas-box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ideas-box/ideasbox.lan","description":"Ideas Box server core application","fork":false,"url":"https://api.github.com/repos/ideas-box/ideasbox.lan","forks_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/forks","keys_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/teams","hooks_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/hooks","issue_events_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/issues/events{/number}","events_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/events","assignees_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/assignees{/user}","branches_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/branches{/branch}","tags_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/tags","blobs_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/git/refs{/sha}","trees_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/statuses/{sha}","languages_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/languages","stargazers_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/stargazers","contributors_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/contributors","subscribers_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/subscribers","subscription_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/subscription","commits_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/commits{/sha}","git_commits_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/git/commits{/sha}","comments_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/comments{/number}","issue_comment_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/issues/comments{/number}","contents_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/contents/{+path}","compare_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/merges","archive_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/downloads","issues_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/issues{/number}","pulls_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls{/number}","milestones_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/milestones{/number}","notifications_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/labels{/name}","releases_url":"https://api.github.com/repos/ideas-box/ideasbox.lan/releases{/id}","created_at":"2014-11-16T08:39:32Z","updated_at":"2015-05-07T11:35:24Z","pushed_at":"2015-05-21T12:24:51Z","git_url":"git://github.com/ideas-box/ideasbox.lan.git","ssh_url":"git@github.com:ideas-box/ideasbox.lan.git","clone_url":"https://github.com/ideas-box/ideasbox.lan.git","svn_url":"https://github.com/ideas-box/ideasbox.lan","homepage":"","size":9765,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":47,"forks":5,"open_issues":47,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137"},"html":{"href":"https://github.com/ideas-box/ideasbox.lan/pull/137"},"issue":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/issues/137"},"comments":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/ideas-box/ideasbox.lan/statuses/1bd8c56ef932c077165446b26b489c2dd7c27986"}}}}