{"action":"created","issue":{"url":"https://api.github.com/repos/alexsyrom/dgap_voting/issues/50","labels_url":"https://api.github.com/repos/alexsyrom/dgap_voting/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/alexsyrom/dgap_voting/issues/50/comments","events_url":"https://api.github.com/repos/alexsyrom/dgap_voting/issues/50/events","html_url":"https://github.com/alexsyrom/dgap_voting/issues/50","id":57375178,"number":50,"title":"Don't use hardcoded urls","user":{"login":"kazeevn","id":1529084,"avatar_url":"https://avatars.githubusercontent.com/u/1529084?v=3","gravatar_id":"","url":"https://api.github.com/users/kazeevn","html_url":"https://github.com/kazeevn","followers_url":"https://api.github.com/users/kazeevn/followers","following_url":"https://api.github.com/users/kazeevn/following{/other_user}","gists_url":"https://api.github.com/users/kazeevn/gists{/gist_id}","starred_url":"https://api.github.com/users/kazeevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazeevn/subscriptions","organizations_url":"https://api.github.com/users/kazeevn/orgs","repos_url":"https://api.github.com/users/kazeevn/repos","events_url":"https://api.github.com/users/kazeevn/events{/privacy}","received_events_url":"https://api.github.com/users/kazeevn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alexsyrom/dgap_voting/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"paulin-mipt","id":5514401,"avatar_url":"https://avatars.githubusercontent.com/u/5514401?v=3","gravatar_id":"","url":"https://api.github.com/users/paulin-mipt","html_url":"https://github.com/paulin-mipt","followers_url":"https://api.github.com/users/paulin-mipt/followers","following_url":"https://api.github.com/users/paulin-mipt/following{/other_user}","gists_url":"https://api.github.com/users/paulin-mipt/gists{/gist_id}","starred_url":"https://api.github.com/users/paulin-mipt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulin-mipt/subscriptions","organizations_url":"https://api.github.com/users/paulin-mipt/orgs","repos_url":"https://api.github.com/users/paulin-mipt/repos","events_url":"https://api.github.com/users/paulin-mipt/events{/privacy}","received_events_url":"https://api.github.com/users/paulin-mipt/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-11T20:50:22Z","updated_at":"2015-02-12T13:21:54Z","closed_at":"2015-02-12T13:21:54Z","body":"That's a laborious, non-scalable and error-prone strategy. Use revrse(). https://docs.djangoproject.com/en/1.7/topics/http/urls/#reverse-resolution-of-urls\r\n\r\n1. https://github.com/alexsyrom/dgap_voting/commit/88f493df1c4d7d7f772e9fdfc27a2ccb87ea81c9#diff-6a981fa2215c848cd8e2a8539d741951R174\r\n2. https://github.com/alexsyrom/dgap_voting/commit/0690776cff5754d0611f9d7ce7d011c0ffb97b94#diff-20e758ebb60d1755ccf454fed46eb264R16\r\n3. https://github.com/alexsyrom/dgap_voting/commit/6d62deab5721bf18a6867a6c62a804e927ec97d0#diff-6a981fa2215c848cd8e2a8539d741951R155\r\n"},"comment":{"url":"https://api.github.com/repos/alexsyrom/dgap_voting/issues/comments/74069111","html_url":"https://github.com/alexsyrom/dgap_voting/issues/50#issuecomment-74069111","issue_url":"https://api.github.com/repos/alexsyrom/dgap_voting/issues/50","id":74069111,"user":{"login":"paulin-mipt","id":5514401,"avatar_url":"https://avatars.githubusercontent.com/u/5514401?v=3","gravatar_id":"","url":"https://api.github.com/users/paulin-mipt","html_url":"https://github.com/paulin-mipt","followers_url":"https://api.github.com/users/paulin-mipt/followers","following_url":"https://api.github.com/users/paulin-mipt/following{/other_user}","gists_url":"https://api.github.com/users/paulin-mipt/gists{/gist_id}","starred_url":"https://api.github.com/users/paulin-mipt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulin-mipt/subscriptions","organizations_url":"https://api.github.com/users/paulin-mipt/orgs","repos_url":"https://api.github.com/users/paulin-mipt/repos","events_url":"https://api.github.com/users/paulin-mipt/events{/privacy}","received_events_url":"https://api.github.com/users/paulin-mipt/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T13:21:54Z","updated_at":"2015-02-12T13:21:54Z","body":"1 и 2 - исправлено, а что не так с третьей ссылкой? \r\nКажется, это вполне адекватная запись для адреса template."}}