{"action":"created","comment":{"url":"https://api.github.com/repos/onespacemedia/cms/pulls/comments/79137654","id":79137654,"diff_hunk":"@@ -7,22 +7,15 @@\n \n from cms.apps.pages.models import Page\n from cms.models import SearchMetaBase\n+from django_jinja import library\n+\n+import jinja2\n \n register = template.Library()\n \n \n # Navigation.\n-\n-@register.inclusion_tag(\"pages/navigation.html\", takes_context=True)\n-def navigation(context, pages, section=None):\n-    \"\"\"\n-    Renders a navigation list for the given pages.\n-\n-    The pages should all be a subclass of PageBase, and possess a get_absolute_url() method.\n-\n-    You can also specify an alias for the navigation, at which point it will be set in the\n-    context rather than rendered.\n-    \"\"\"\n+def navigation_entries(context, pages, section=None, is_json=False):","path":"cms/apps/pages/templatetags/pages.py","position":23,"original_position":23,"commit_id":"9bd656b6eaac2db7de6214705b431eef8ed528b5","original_commit_id":"9bd656b6eaac2db7de6214705b431eef8ed528b5","user":{"login":"dan-gamble","id":7152041,"avatar_url":"https://avatars.githubusercontent.com/u/7152041?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-gamble","html_url":"https://github.com/dan-gamble","followers_url":"https://api.github.com/users/dan-gamble/followers","following_url":"https://api.github.com/users/dan-gamble/following{/other_user}","gists_url":"https://api.github.com/users/dan-gamble/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-gamble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-gamble/subscriptions","organizations_url":"https://api.github.com/users/dan-gamble/orgs","repos_url":"https://api.github.com/users/dan-gamble/repos","events_url":"https://api.github.com/users/dan-gamble/events{/privacy}","received_events_url":"https://api.github.com/users/dan-gamble/received_events","type":"User","site_admin":false},"body":"Sounds good to me 👍 ","created_at":"2016-09-16T09:44:56Z","updated_at":"2016-09-16T09:44:57Z","html_url":"https://github.com/onespacemedia/cms/pull/111#discussion_r79137654","pull_request_url":"https://api.github.com/repos/onespacemedia/cms/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/onespacemedia/cms/pulls/comments/79137654"},"html":{"href":"https://github.com/onespacemedia/cms/pull/111#discussion_r79137654"},"pull_request":{"href":"https://api.github.com/repos/onespacemedia/cms/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/onespacemedia/cms/pulls/111","id":84643264,"html_url":"https://github.com/onespacemedia/cms/pull/111","diff_url":"https://github.com/onespacemedia/cms/pull/111.diff","patch_url":"https://github.com/onespacemedia/cms/pull/111.patch","issue_url":"https://api.github.com/repos/onespacemedia/cms/issues/111","number":111,"state":"open","locked":false,"title":"Template, setting and template tag conversions to Jinja","user":{"login":"dan-gamble","id":7152041,"avatar_url":"https://avatars.githubusercontent.com/u/7152041?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-gamble","html_url":"https://github.com/dan-gamble","followers_url":"https://api.github.com/users/dan-gamble/followers","following_url":"https://api.github.com/users/dan-gamble/following{/other_user}","gists_url":"https://api.github.com/users/dan-gamble/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-gamble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-gamble/subscriptions","organizations_url":"https://api.github.com/users/dan-gamble/orgs","repos_url":"https://api.github.com/users/dan-gamble/repos","events_url":"https://api.github.com/users/dan-gamble/events{/privacy}","received_events_url":"https://api.github.com/users/dan-gamble/received_events","type":"User","site_admin":false},"body":"Combined with https://github.com/onespacemedia/project-template/pull/47","created_at":"2016-09-09T12:36:34Z","updated_at":"2016-09-16T09:44:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5006158775d6c56cfd6d282e49325523baa2bf12","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/onespacemedia/cms/pulls/111/commits","review_comments_url":"https://api.github.com/repos/onespacemedia/cms/pulls/111/comments","review_comment_url":"https://api.github.com/repos/onespacemedia/cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/onespacemedia/cms/issues/111/comments","statuses_url":"https://api.github.com/repos/onespacemedia/cms/statuses/9bd656b6eaac2db7de6214705b431eef8ed528b5","head":{"label":"dan-gamble:feature/jinja","ref":"feature/jinja","sha":"9bd656b6eaac2db7de6214705b431eef8ed528b5","user":{"login":"dan-gamble","id":7152041,"avatar_url":"https://avatars.githubusercontent.com/u/7152041?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-gamble","html_url":"https://github.com/dan-gamble","followers_url":"https://api.github.com/users/dan-gamble/followers","following_url":"https://api.github.com/users/dan-gamble/following{/other_user}","gists_url":"https://api.github.com/users/dan-gamble/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-gamble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-gamble/subscriptions","organizations_url":"https://api.github.com/users/dan-gamble/orgs","repos_url":"https://api.github.com/users/dan-gamble/repos","events_url":"https://api.github.com/users/dan-gamble/events{/privacy}","received_events_url":"https://api.github.com/users/dan-gamble/received_events","type":"User","site_admin":false},"repo":{"id":53943161,"name":"cms","full_name":"dan-gamble/cms","owner":{"login":"dan-gamble","id":7152041,"avatar_url":"https://avatars.githubusercontent.com/u/7152041?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-gamble","html_url":"https://github.com/dan-gamble","followers_url":"https://api.github.com/users/dan-gamble/followers","following_url":"https://api.github.com/users/dan-gamble/following{/other_user}","gists_url":"https://api.github.com/users/dan-gamble/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-gamble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-gamble/subscriptions","organizations_url":"https://api.github.com/users/dan-gamble/orgs","repos_url":"https://api.github.com/users/dan-gamble/repos","events_url":"https://api.github.com/users/dan-gamble/events{/privacy}","received_events_url":"https://api.github.com/users/dan-gamble/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dan-gamble/cms","description":"A collection of Django extensions that add content-management facilities to Django projects.","fork":true,"url":"https://api.github.com/repos/dan-gamble/cms","forks_url":"https://api.github.com/repos/dan-gamble/cms/forks","keys_url":"https://api.github.com/repos/dan-gamble/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dan-gamble/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dan-gamble/cms/teams","hooks_url":"https://api.github.com/repos/dan-gamble/cms/hooks","issue_events_url":"https://api.github.com/repos/dan-gamble/cms/issues/events{/number}","events_url":"https://api.github.com/repos/dan-gamble/cms/events","assignees_url":"https://api.github.com/repos/dan-gamble/cms/assignees{/user}","branches_url":"https://api.github.com/repos/dan-gamble/cms/branches{/branch}","tags_url":"https://api.github.com/repos/dan-gamble/cms/tags","blobs_url":"https://api.github.com/repos/dan-gamble/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dan-gamble/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dan-gamble/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/dan-gamble/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dan-gamble/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/dan-gamble/cms/languages","stargazers_url":"https://api.github.com/repos/dan-gamble/cms/stargazers","contributors_url":"https://api.github.com/repos/dan-gamble/cms/contributors","subscribers_url":"https://api.github.com/repos/dan-gamble/cms/subscribers","subscription_url":"https://api.github.com/repos/dan-gamble/cms/subscription","commits_url":"https://api.github.com/repos/dan-gamble/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/dan-gamble/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/dan-gamble/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/dan-gamble/cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/dan-gamble/cms/contents/{+path}","compare_url":"https://api.github.com/repos/dan-gamble/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dan-gamble/cms/merges","archive_url":"https://api.github.com/repos/dan-gamble/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dan-gamble/cms/downloads","issues_url":"https://api.github.com/repos/dan-gamble/cms/issues{/number}","pulls_url":"https://api.github.com/repos/dan-gamble/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/dan-gamble/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/dan-gamble/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dan-gamble/cms/labels{/name}","releases_url":"https://api.github.com/repos/dan-gamble/cms/releases{/id}","deployments_url":"https://api.github.com/repos/dan-gamble/cms/deployments","created_at":"2016-03-15T12:34:55Z","updated_at":"2016-03-15T12:34:59Z","pushed_at":"2016-09-10T19:38:51Z","git_url":"git://github.com/dan-gamble/cms.git","ssh_url":"git@github.com:dan-gamble/cms.git","clone_url":"https://github.com/dan-gamble/cms.git","svn_url":"https://github.com/dan-gamble/cms","homepage":"","size":10159,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"onespacemedia:develop","ref":"develop","sha":"aab15be945e27b763d8dff3559d0b7c193612932","user":{"login":"onespacemedia","id":4577273,"avatar_url":"https://avatars.githubusercontent.com/u/4577273?v=3","gravatar_id":"","url":"https://api.github.com/users/onespacemedia","html_url":"https://github.com/onespacemedia","followers_url":"https://api.github.com/users/onespacemedia/followers","following_url":"https://api.github.com/users/onespacemedia/following{/other_user}","gists_url":"https://api.github.com/users/onespacemedia/gists{/gist_id}","starred_url":"https://api.github.com/users/onespacemedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onespacemedia/subscriptions","organizations_url":"https://api.github.com/users/onespacemedia/orgs","repos_url":"https://api.github.com/users/onespacemedia/repos","events_url":"https://api.github.com/users/onespacemedia/events{/privacy}","received_events_url":"https://api.github.com/users/onespacemedia/received_events","type":"Organization","site_admin":false},"repo":{"id":10475661,"name":"cms","full_name":"onespacemedia/cms","owner":{"login":"onespacemedia","id":4577273,"avatar_url":"https://avatars.githubusercontent.com/u/4577273?v=3","gravatar_id":"","url":"https://api.github.com/users/onespacemedia","html_url":"https://github.com/onespacemedia","followers_url":"https://api.github.com/users/onespacemedia/followers","following_url":"https://api.github.com/users/onespacemedia/following{/other_user}","gists_url":"https://api.github.com/users/onespacemedia/gists{/gist_id}","starred_url":"https://api.github.com/users/onespacemedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onespacemedia/subscriptions","organizations_url":"https://api.github.com/users/onespacemedia/orgs","repos_url":"https://api.github.com/users/onespacemedia/repos","events_url":"https://api.github.com/users/onespacemedia/events{/privacy}","received_events_url":"https://api.github.com/users/onespacemedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onespacemedia/cms","description":"A collection of Django extensions that add content-management facilities to Django projects.","fork":false,"url":"https://api.github.com/repos/onespacemedia/cms","forks_url":"https://api.github.com/repos/onespacemedia/cms/forks","keys_url":"https://api.github.com/repos/onespacemedia/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onespacemedia/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onespacemedia/cms/teams","hooks_url":"https://api.github.com/repos/onespacemedia/cms/hooks","issue_events_url":"https://api.github.com/repos/onespacemedia/cms/issues/events{/number}","events_url":"https://api.github.com/repos/onespacemedia/cms/events","assignees_url":"https://api.github.com/repos/onespacemedia/cms/assignees{/user}","branches_url":"https://api.github.com/repos/onespacemedia/cms/branches{/branch}","tags_url":"https://api.github.com/repos/onespacemedia/cms/tags","blobs_url":"https://api.github.com/repos/onespacemedia/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onespacemedia/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onespacemedia/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/onespacemedia/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onespacemedia/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/onespacemedia/cms/languages","stargazers_url":"https://api.github.com/repos/onespacemedia/cms/stargazers","contributors_url":"https://api.github.com/repos/onespacemedia/cms/contributors","subscribers_url":"https://api.github.com/repos/onespacemedia/cms/subscribers","subscription_url":"https://api.github.com/repos/onespacemedia/cms/subscription","commits_url":"https://api.github.com/repos/onespacemedia/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/onespacemedia/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/onespacemedia/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/onespacemedia/cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/onespacemedia/cms/contents/{+path}","compare_url":"https://api.github.com/repos/onespacemedia/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onespacemedia/cms/merges","archive_url":"https://api.github.com/repos/onespacemedia/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onespacemedia/cms/downloads","issues_url":"https://api.github.com/repos/onespacemedia/cms/issues{/number}","pulls_url":"https://api.github.com/repos/onespacemedia/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/onespacemedia/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/onespacemedia/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onespacemedia/cms/labels{/name}","releases_url":"https://api.github.com/repos/onespacemedia/cms/releases{/id}","deployments_url":"https://api.github.com/repos/onespacemedia/cms/deployments","created_at":"2013-06-04T09:55:56Z","updated_at":"2016-07-10T08:11:11Z","pushed_at":"2016-09-12T09:51:27Z","git_url":"git://github.com/onespacemedia/cms.git","ssh_url":"git@github.com:onespacemedia/cms.git","clone_url":"https://github.com/onespacemedia/cms.git","svn_url":"https://github.com/onespacemedia/cms","homepage":"","size":10674,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":15,"forks":5,"open_issues":15,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/onespacemedia/cms/pulls/111"},"html":{"href":"https://github.com/onespacemedia/cms/pull/111"},"issue":{"href":"https://api.github.com/repos/onespacemedia/cms/issues/111"},"comments":{"href":"https://api.github.com/repos/onespacemedia/cms/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/onespacemedia/cms/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/onespacemedia/cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/onespacemedia/cms/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/onespacemedia/cms/statuses/9bd656b6eaac2db7de6214705b431eef8ed528b5"}}}}
{"actor":{"display_login":"dan-gamble"}}