{"action":"created","issue":{"url":"https://api.github.com/repos/aristippe/pathagar/issues/1","repository_url":"https://api.github.com/repos/aristippe/pathagar","labels_url":"https://api.github.com/repos/aristippe/pathagar/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/aristippe/pathagar/issues/1/comments","events_url":"https://api.github.com/repos/aristippe/pathagar/issues/1/events","html_url":"https://github.com/aristippe/pathagar/issues/1","id":131855024,"number":1,"title":"Allow import in place from command-line to use existing files","user":{"login":"aristippe","id":13608624,"avatar_url":"https://avatars.githubusercontent.com/u/13608624?v=3","gravatar_id":"","url":"https://api.github.com/users/aristippe","html_url":"https://github.com/aristippe","followers_url":"https://api.github.com/users/aristippe/followers","following_url":"https://api.github.com/users/aristippe/following{/other_user}","gists_url":"https://api.github.com/users/aristippe/gists{/gist_id}","starred_url":"https://api.github.com/users/aristippe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aristippe/subscriptions","organizations_url":"https://api.github.com/users/aristippe/orgs","repos_url":"https://api.github.com/users/aristippe/repos","events_url":"https://api.github.com/users/aristippe/events{/privacy}","received_events_url":"https://api.github.com/users/aristippe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-06T13:17:46Z","updated_at":"2016-02-09T12:37:12Z","closed_at":null,"body":"Currently implemented in replacement of book_file as FileField though it would be nice to allow command-line import in place while remaining compatible with older versions. Perhaps a second field in Book model for file path."},"comment":{"url":"https://api.github.com/repos/aristippe/pathagar/issues/comments/181846734","html_url":"https://github.com/aristippe/pathagar/issues/1#issuecomment-181846734","issue_url":"https://api.github.com/repos/aristippe/pathagar/issues/1","id":181846734,"user":{"login":"aristippe","id":13608624,"avatar_url":"https://avatars.githubusercontent.com/u/13608624?v=3","gravatar_id":"","url":"https://api.github.com/users/aristippe","html_url":"https://github.com/aristippe","followers_url":"https://api.github.com/users/aristippe/followers","following_url":"https://api.github.com/users/aristippe/following{/other_user}","gists_url":"https://api.github.com/users/aristippe/gists{/gist_id}","starred_url":"https://api.github.com/users/aristippe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aristippe/subscriptions","organizations_url":"https://api.github.com/users/aristippe/orgs","repos_url":"https://api.github.com/users/aristippe/repos","events_url":"https://api.github.com/users/aristippe/events{/privacy}","received_events_url":"https://api.github.com/users/aristippe/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T12:37:12Z","updated_at":"2016-02-09T12:37:12Z","body":"The PR looks fantastic. That you were able to take care of it so quickly is wonderful! \r\n\r\n[quote]you were on the right track with the subclassing! I'm shaping up the solution but it is quite related to the info you previously found. And those are mechanisms rather deep inside Django, and definitively not something the regular newish-django-developer usually starts with: I'm actually quite impressed with how quickly you caught up![/quote]\r\n\r\nThat was pretty much the first thing I looked into it and seeing how others approached it, the idea of subclassing to modify default behavior made sense is one thing, but knowing how to do it is certainly another! :)"}}