{"action":"created","issue":{"url":"https://api.github.com/repos/douban/code/issues/113","repository_url":"https://api.github.com/repos/douban/code","labels_url":"https://api.github.com/repos/douban/code/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/douban/code/issues/113/comments","events_url":"https://api.github.com/repos/douban/code/issues/113/events","html_url":"https://github.com/douban/code/pull/113","id":132052628,"number":113,"title":"Migration from quixote to django","user":{"login":"xtao","id":1050163,"avatar_url":"https://avatars.githubusercontent.com/u/1050163?v=3","gravatar_id":"","url":"https://api.github.com/users/xtao","html_url":"https://github.com/xtao","followers_url":"https://api.github.com/users/xtao/followers","following_url":"https://api.github.com/users/xtao/following{/other_user}","gists_url":"https://api.github.com/users/xtao/gists{/gist_id}","starred_url":"https://api.github.com/users/xtao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtao/subscriptions","organizations_url":"https://api.github.com/users/xtao/orgs","repos_url":"https://api.github.com/users/xtao/repos","events_url":"https://api.github.com/users/xtao/events{/privacy}","received_events_url":"https://api.github.com/users/xtao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-08T04:58:04Z","updated_at":"2016-02-13T11:24:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/douban/code/pulls/113","html_url":"https://github.com/douban/code/pull/113","diff_url":"https://github.com/douban/code/pull/113.diff","patch_url":"https://github.com/douban/code/pull/113.patch"},"body":"TODO:\r\n\r\n1. admin static files\r\n1. other static files \r\n1. `/project`\r\n1. `/team`\r\n\r\nDONE: \r\n\r\n1. Add django framework\r\n1. Add QuixoteMiddleware\r\n1. `/people`\r\n1. `/gist`\r\n1. `/login`\r\n1. `/logout`\r\n1. `/register`\r\n1. 去掉了 raven 和 ga js\r\n1. `/mirrors`\r\n1. `/badge`\r\n1. `/watch`\r\n1. `/watching`\r\n1. `/favorites`\r\n1. `/fetch`\r\n1. `/m`\r\n1. `/praise`\r\n1. `/trello` - 未来考虑去掉这个\r\n\r\n因为 user 不共享的原因，需要把所有的 models + views + templates 都转过来。\r\n\r\n- template 还是用原来的 mako\r\n- request 做了兼容 quixote 的 middleware\r\n- models 改用 django orm\r\n- views 改用 django views\r\n"},"comment":{"url":"https://api.github.com/repos/douban/code/issues/comments/183645952","html_url":"https://github.com/douban/code/pull/113#issuecomment-183645952","issue_url":"https://api.github.com/repos/douban/code/issues/113","id":183645952,"user":{"login":"mozillazg","id":485054,"avatar_url":"https://avatars.githubusercontent.com/u/485054?v=3","gravatar_id":"","url":"https://api.github.com/users/mozillazg","html_url":"https://github.com/mozillazg","followers_url":"https://api.github.com/users/mozillazg/followers","following_url":"https://api.github.com/users/mozillazg/following{/other_user}","gists_url":"https://api.github.com/users/mozillazg/gists{/gist_id}","starred_url":"https://api.github.com/users/mozillazg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozillazg/subscriptions","organizations_url":"https://api.github.com/users/mozillazg/orgs","repos_url":"https://api.github.com/users/mozillazg/repos","events_url":"https://api.github.com/users/mozillazg/events{/privacy}","received_events_url":"https://api.github.com/users/mozillazg/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T11:24:57Z","updated_at":"2016-02-13T11:24:57Z","body":":+1: "}}