{"action":"created","issue":{"url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide/issues/3","repository_url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide","labels_url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide/issues/3/comments","events_url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide/issues/3/events","html_url":"https://github.com/pythonzhichan/django-beginners-guide/pull/3","id":302018039,"number":3,"title":"1st part-GettingStarted中文版","user":{"login":"vimiix","id":15924035,"avatar_url":"https://avatars1.githubusercontent.com/u/15924035?v=4","gravatar_id":"","url":"https://api.github.com/users/vimiix","html_url":"https://github.com/vimiix","followers_url":"https://api.github.com/users/vimiix/followers","following_url":"https://api.github.com/users/vimiix/following{/other_user}","gists_url":"https://api.github.com/users/vimiix/gists{/gist_id}","starred_url":"https://api.github.com/users/vimiix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimiix/subscriptions","organizations_url":"https://api.github.com/users/vimiix/orgs","repos_url":"https://api.github.com/users/vimiix/repos","events_url":"https://api.github.com/users/vimiix/events{/privacy}","received_events_url":"https://api.github.com/users/vimiix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-03T17:52:19Z","updated_at":"2018-03-04T12:13:29Z","closed_at":"2018-03-04T06:53:09Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide/pulls/3","html_url":"https://github.com/pythonzhichan/django-beginners-guide/pull/3","diff_url":"https://github.com/pythonzhichan/django-beginners-guide/pull/3.diff","patch_url":"https://github.com/pythonzhichan/django-beginners-guide/pull/3.patch"},"body":"CHANGELOG:\r\n\r\n- [x] 第一部分教程翻译完成\r\n\r\n- [x] 新增一个`statics`静态文件文件夹，以便存放文中图片"},"comment":{"url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide/issues/comments/370224300","html_url":"https://github.com/pythonzhichan/django-beginners-guide/pull/3#issuecomment-370224300","issue_url":"https://api.github.com/repos/pythonzhichan/django-beginners-guide/issues/3","id":370224300,"user":{"login":"lhsfcboy","id":3069212,"avatar_url":"https://avatars3.githubusercontent.com/u/3069212?v=4","gravatar_id":"","url":"https://api.github.com/users/lhsfcboy","html_url":"https://github.com/lhsfcboy","followers_url":"https://api.github.com/users/lhsfcboy/followers","following_url":"https://api.github.com/users/lhsfcboy/following{/other_user}","gists_url":"https://api.github.com/users/lhsfcboy/gists{/gist_id}","starred_url":"https://api.github.com/users/lhsfcboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhsfcboy/subscriptions","organizations_url":"https://api.github.com/users/lhsfcboy/orgs","repos_url":"https://api.github.com/users/lhsfcboy/repos","events_url":"https://api.github.com/users/lhsfcboy/events{/privacy}","received_events_url":"https://api.github.com/users/lhsfcboy/received_events","type":"User","site_admin":false},"created_at":"2018-03-04T12:13:29Z","updated_at":"2018-03-04T12:13:29Z","author_association":"NONE","body":"@vimiix \r\n\r\n> 现在，Django使用**正则表达式**来匹配请求的URL。对于我们的**home**视图，我使用`^$` 正则，它将匹配一个空路径，也就是主页（这个URL：http://127.0.0.1:8000）。 如果我想匹配的URL是**http://127.0.0.1:8000/homepage/** ，那么我的URL正则表达式就会是：`url(r'^homepage/$', views.home, name='home')`。\r\n\r\ngithub会把url后面的字符也解析成url的一部分, 结果就是网址后面的括号什么的都会被作为url的一部分显示. 我也不知道有啥好办法, 最简单的做法是在url结束的地方多加一个空格, 也就是8000的后面和homepage的两个星号的后面."}}
{"actor":{"display_login":"lhsfcboy"}}