{"action":"created","issue":{"url":"https://api.github.com/repos/thelabnyc/wagtail_blog/issues/12","labels_url":"https://api.github.com/repos/thelabnyc/wagtail_blog/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/thelabnyc/wagtail_blog/issues/12/comments","events_url":"https://api.github.com/repos/thelabnyc/wagtail_blog/issues/12/events","html_url":"https://github.com/thelabnyc/wagtail_blog/issues/12","id":104153107,"number":12,"title":"Named URL's","user":{"login":"tomtom5152","id":2250882,"avatar_url":"https://avatars.githubusercontent.com/u/2250882?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtom5152","html_url":"https://github.com/tomtom5152","followers_url":"https://api.github.com/users/tomtom5152/followers","following_url":"https://api.github.com/users/tomtom5152/following{/other_user}","gists_url":"https://api.github.com/users/tomtom5152/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtom5152/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtom5152/subscriptions","organizations_url":"https://api.github.com/users/tomtom5152/orgs","repos_url":"https://api.github.com/users/tomtom5152/repos","events_url":"https://api.github.com/users/tomtom5152/events{/privacy}","received_events_url":"https://api.github.com/users/tomtom5152/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T23:26:45Z","updated_at":"2015-09-03T00:10:25Z","closed_at":null,"body":"I strongly dislike putting any constant URL's in a template file such as [blog_post.html](https://github.com/thelabnyc/wagtail_blog/blob/master/blog/templates/blog/blog_post.html#L44) as I feel this leaves it open to the users implementation. Using the default instructions this will work fine, but if the user wants to change the blog URL then they need to change the template as well.\r\n\r\nA better solution would be to use `name=\"blog_category\"` and similar in [urls.py](https://github.com/thelabnyc/wagtail_blog/blob/master/blog/urls.py). This would allow for the standard Django `{% url \"blog_category\" cat.category.slug %}`to be used in templates."},"comment":{"url":"https://api.github.com/repos/thelabnyc/wagtail_blog/issues/comments/137277935","html_url":"https://github.com/thelabnyc/wagtail_blog/issues/12#issuecomment-137277935","issue_url":"https://api.github.com/repos/thelabnyc/wagtail_blog/issues/12","id":137277935,"user":{"login":"bufke","id":739307,"avatar_url":"https://avatars.githubusercontent.com/u/739307?v=3","gravatar_id":"","url":"https://api.github.com/users/bufke","html_url":"https://github.com/bufke","followers_url":"https://api.github.com/users/bufke/followers","following_url":"https://api.github.com/users/bufke/following{/other_user}","gists_url":"https://api.github.com/users/bufke/gists{/gist_id}","starred_url":"https://api.github.com/users/bufke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bufke/subscriptions","organizations_url":"https://api.github.com/users/bufke/orgs","repos_url":"https://api.github.com/users/bufke/repos","events_url":"https://api.github.com/users/bufke/events{/privacy}","received_events_url":"https://api.github.com/users/bufke/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T00:10:25Z","updated_at":"2015-09-03T00:10:25Z","body":"Sounds good to me - would you be able to submit a pull request?"}}