{"action":"created","comment":{"url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments/70761446","id":70761446,"diff_hunk":"@@ -1,176 +1,19 @@\n {% extends \"layout/base.html\" %}\n+{% load mptt_tags %}\n \n {% block main-content %}\n   <h1>Все категории</h1>\n \n   <ul class=\"catalog\">\n-    <li>\n-      <a href=\"/gbi/categories/456/\">Общегражданское и промышленное строительство</a>\n-      <ul>\n-        <li>\n-          <a href=\"/gbi/categories/435/\">Балконные плиты</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/431/\">Козырьки</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/15/\">Колонны</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/13/\">Перемычки и прогоны</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/74/\">Плиты перекрытия ребристые</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/89/\">Ригели</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/463/\">Сваи</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/11/\">Фундаменты и блоки</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/439/\">Шахты лифтов</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/12/\">Элементы лестниц</a>\n-        </li>\n-\n-      </ul>\n-    </li>\n-    <li>\n-      <a href=\"/gbi/categories/457/\">Дорожное строительство</a>\n-      <ul>\n-        <li>\n-          <a href=\"/gbi/categories/31/\">Водоотводные сооружения</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/180/\">Водопропускные трубы: звенья, оголовки, откосные стенки, фундаменты</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/199/\">Железнодорожные переезды</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/196/\">Железнодорожные платформы</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/125/\">Железобетонные изделия для укрепительных работ</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/187/\">Искусственные сооружения на специализированных автодорогах</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/203/\">Коммуникации</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/165/\">Мосты и путепроводы</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/140/\">Обстановка и отдельные элементы дороги</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/149/\">Опоры</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/115/\">Плиты дорожные</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/176/\">Подпорные стены</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/172/\">Путепроводы тоннельного типа</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/161/\">Сваи</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/145/\">Тротуарные и ограждающие блоки</a>\n-        </li>\n-\n-      </ul>\n-    </li>\n-    <li>\n-      <a href=\"/gbi/categories/458/\">Строительство инженерных сетей</a>\n-      <ul>\n-        <li>\n-          <a href=\"/gbi/categories/328/\">Водоснабжение и канализация</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/314/\">Теплоснабжение и электроснабжение </a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/337/\">Эстакады</a>\n-        </li>\n-\n-      </ul>\n-    </li>\n-    <li>\n-      <a href=\"/gbi/categories/459/\">Строительство энергетических объектов</a>\n-      <ul>\n-        <li>\n-          <a href=\"/gbi/categories/44/\">Конструкции фундаментов для металлических опор ЛЭП</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/218/\">Металлические конструкции непроходных кабельных эстакад. Серия 3.016.2-12, выпуск\n-            2</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/43/\">Опоры ЛЭП</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/462/\">Стойки для опор контактной сети</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/59/\">Фундаменты под опоры контактной сети для железных дорог</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/45/\">Фундаменты трансформаторов и подстанций</a>\n-        </li>\n-\n-      </ul>\n-    </li>\n-    <li>\n-      <a href=\"/gbi/categories/460/\">Благоустройство территорий</a>\n-      <ul>\n-        <li>\n-          <a href=\"/gbi/categories/49/\">Бордюрный камень</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/53/\">Надолбы и тумбы</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/50/\">Плиты бетонные тротуарные</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/52/\">Урны</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/51/\">Цветочницы</a>\n-        </li>\n-\n-      </ul>\n-    </li>\n-    <li>\n-      <a href=\"/gbi/categories/461/\">Нефтегазовое строительство</a>\n-      <ul>\n-        <li>\n-          <a href=\"/gbi/categories/86/\">Утяжелители болотные (тип Аг) . НГ–796–61 (ЛЕНГИПРОИНЖПРОЕКТ)</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/85/\">Утяжелители болотные клиновидные. ТУ 102-421-86, \"Проект 10412\"</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/83/\">Утяжелители охватывающие для магистральных трубопроводов (тип УБО). Проект\n-            999Б</a>\n-        </li>\n-        <li>\n-          <a href=\"/gbi/categories/84/\">Утяжелители сборные кольцевые для магистральных трубопроводов (тип УТК). ТУ\n-            102-264-81, \"Проект №994\"</a>\n-        </li>\n-\n-      </ul>\n-    </li>\n+    {% recursetree nodes %}\n+      <li>\n+        <a href=\"{% url 'category' node.id %}\">{{ node.name }}</a>","path":"templates/catalog/catalog.html","position":178,"original_position":178,"commit_id":"0adb8c14ccb4dfa93ffe349faf3c40741209f76d","original_commit_id":"0adb8c14ccb4dfa93ffe349faf3c40741209f76d","user":{"login":"duker33","id":3526796,"avatar_url":"https://avatars.githubusercontent.com/u/3526796?v=3","gravatar_id":"","url":"https://api.github.com/users/duker33","html_url":"https://github.com/duker33","followers_url":"https://api.github.com/users/duker33/followers","following_url":"https://api.github.com/users/duker33/following{/other_user}","gists_url":"https://api.github.com/users/duker33/gists{/gist_id}","starred_url":"https://api.github.com/users/duker33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duker33/subscriptions","organizations_url":"https://api.github.com/users/duker33/orgs","repos_url":"https://api.github.com/users/duker33/repos","events_url":"https://api.github.com/users/duker33/events{/privacy}","received_events_url":"https://api.github.com/users/duker33/received_events","type":"User","site_admin":false},"body":"лучше юзай `node.get_absolute_url()`","created_at":"2016-07-14T07:37:33Z","updated_at":"2016-07-14T07:37:33Z","html_url":"https://github.com/fidals/stroyprombeton/pull/5#discussion_r70761446","pull_request_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments/70761446"},"html":{"href":"https://github.com/fidals/stroyprombeton/pull/5#discussion_r70761446"},"pull_request":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5","id":77324866,"html_url":"https://github.com/fidals/stroyprombeton/pull/5","diff_url":"https://github.com/fidals/stroyprombeton/pull/5.diff","patch_url":"https://github.com/fidals/stroyprombeton/pull/5.patch","issue_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/5","number":5,"state":"open","locked":false,"title":"[ 759 ] Created templates and views for catalog.","user":{"login":"wrtds2","id":13870342,"avatar_url":"https://avatars.githubusercontent.com/u/13870342?v=3","gravatar_id":"","url":"https://api.github.com/users/wrtds2","html_url":"https://github.com/wrtds2","followers_url":"https://api.github.com/users/wrtds2/followers","following_url":"https://api.github.com/users/wrtds2/following{/other_user}","gists_url":"https://api.github.com/users/wrtds2/gists{/gist_id}","starred_url":"https://api.github.com/users/wrtds2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrtds2/subscriptions","organizations_url":"https://api.github.com/users/wrtds2/orgs","repos_url":"https://api.github.com/users/wrtds2/repos","events_url":"https://api.github.com/users/wrtds2/events{/privacy}","received_events_url":"https://api.github.com/users/wrtds2/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-13T16:59:51Z","updated_at":"2016-07-14T07:37:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5135baf09ee9e5f637051768c9bbd401a0e012f6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5/commits","review_comments_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5/comments","review_comment_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/5/comments","statuses_url":"https://api.github.com/repos/fidals/stroyprombeton/statuses/0adb8c14ccb4dfa93ffe349faf3c40741209f76d","head":{"label":"fidals:dev-759_RF_STB_catalog","ref":"dev-759_RF_STB_catalog","sha":"0adb8c14ccb4dfa93ffe349faf3c40741209f76d","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":62544799,"name":"stroyprombeton","full_name":"fidals/stroyprombeton","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/stroyprombeton","description":null,"fork":false,"url":"https://api.github.com/repos/fidals/stroyprombeton","forks_url":"https://api.github.com/repos/fidals/stroyprombeton/forks","keys_url":"https://api.github.com/repos/fidals/stroyprombeton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/stroyprombeton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/stroyprombeton/teams","hooks_url":"https://api.github.com/repos/fidals/stroyprombeton/hooks","issue_events_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/stroyprombeton/events","assignees_url":"https://api.github.com/repos/fidals/stroyprombeton/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/stroyprombeton/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/stroyprombeton/tags","blobs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/stroyprombeton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/stroyprombeton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/stroyprombeton/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/stroyprombeton/languages","stargazers_url":"https://api.github.com/repos/fidals/stroyprombeton/stargazers","contributors_url":"https://api.github.com/repos/fidals/stroyprombeton/contributors","subscribers_url":"https://api.github.com/repos/fidals/stroyprombeton/subscribers","subscription_url":"https://api.github.com/repos/fidals/stroyprombeton/subscription","commits_url":"https://api.github.com/repos/fidals/stroyprombeton/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/stroyprombeton/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/stroyprombeton/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/stroyprombeton/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/stroyprombeton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/stroyprombeton/merges","archive_url":"https://api.github.com/repos/fidals/stroyprombeton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/stroyprombeton/downloads","issues_url":"https://api.github.com/repos/fidals/stroyprombeton/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/stroyprombeton/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/stroyprombeton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/stroyprombeton/labels{/name}","releases_url":"https://api.github.com/repos/fidals/stroyprombeton/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/stroyprombeton/deployments","created_at":"2016-07-04T08:24:41Z","updated_at":"2016-07-07T09:32:27Z","pushed_at":"2016-07-13T16:59:51Z","git_url":"git://github.com/fidals/stroyprombeton.git","ssh_url":"git@github.com:fidals/stroyprombeton.git","clone_url":"https://github.com/fidals/stroyprombeton.git","svn_url":"https://github.com/fidals/stroyprombeton","homepage":null,"size":2013,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"fidals:master","ref":"master","sha":"0bfd7cc19d461a59786b673335e1d1f4c1612ee1","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":62544799,"name":"stroyprombeton","full_name":"fidals/stroyprombeton","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/stroyprombeton","description":null,"fork":false,"url":"https://api.github.com/repos/fidals/stroyprombeton","forks_url":"https://api.github.com/repos/fidals/stroyprombeton/forks","keys_url":"https://api.github.com/repos/fidals/stroyprombeton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/stroyprombeton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/stroyprombeton/teams","hooks_url":"https://api.github.com/repos/fidals/stroyprombeton/hooks","issue_events_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/stroyprombeton/events","assignees_url":"https://api.github.com/repos/fidals/stroyprombeton/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/stroyprombeton/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/stroyprombeton/tags","blobs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/stroyprombeton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/stroyprombeton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/stroyprombeton/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/stroyprombeton/languages","stargazers_url":"https://api.github.com/repos/fidals/stroyprombeton/stargazers","contributors_url":"https://api.github.com/repos/fidals/stroyprombeton/contributors","subscribers_url":"https://api.github.com/repos/fidals/stroyprombeton/subscribers","subscription_url":"https://api.github.com/repos/fidals/stroyprombeton/subscription","commits_url":"https://api.github.com/repos/fidals/stroyprombeton/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/stroyprombeton/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/stroyprombeton/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/stroyprombeton/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/stroyprombeton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/stroyprombeton/merges","archive_url":"https://api.github.com/repos/fidals/stroyprombeton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/stroyprombeton/downloads","issues_url":"https://api.github.com/repos/fidals/stroyprombeton/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/stroyprombeton/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/stroyprombeton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/stroyprombeton/labels{/name}","releases_url":"https://api.github.com/repos/fidals/stroyprombeton/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/stroyprombeton/deployments","created_at":"2016-07-04T08:24:41Z","updated_at":"2016-07-07T09:32:27Z","pushed_at":"2016-07-13T16:59:51Z","git_url":"git://github.com/fidals/stroyprombeton.git","ssh_url":"git@github.com:fidals/stroyprombeton.git","clone_url":"https://github.com/fidals/stroyprombeton.git","svn_url":"https://github.com/fidals/stroyprombeton","homepage":null,"size":2013,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5"},"html":{"href":"https://github.com/fidals/stroyprombeton/pull/5"},"issue":{"href":"https://api.github.com/repos/fidals/stroyprombeton/issues/5"},"comments":{"href":"https://api.github.com/repos/fidals/stroyprombeton/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/fidals/stroyprombeton/statuses/0adb8c14ccb4dfa93ffe349faf3c40741209f76d"}}}}
{"actor":{"display_login":"duker33"}}