{"action":"created","comment":{"url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/comments/85112010","pull_request_review_id":5845605,"id":85112010,"diff_hunk":"@@ -54,3 +54,25 @@ TEMPLATES = [\n     }\n ]\n ```\n+\n+A custom folder to load the templates can be specified. This allows you to keep the URL acessible templates separately from template includes.\n+\n+``` python\n+# As a subfolder in templates. Only searching inside `templates/pages/`\n+TEMPLATE_FINDER_DIR = 'pages'","path":"README.md","position":null,"original_position":9,"commit_id":"d992d3e780d3dcc1bd6a4006fc8da5efb7fed731","original_commit_id":"92705678f161769e5c639bd6a7d0dc696da77aaa","user":{"login":"WillMoggridge","id":322693,"avatar_url":"https://avatars.githubusercontent.com/u/322693?v=3","gravatar_id":"","url":"https://api.github.com/users/WillMoggridge","html_url":"https://github.com/WillMoggridge","followers_url":"https://api.github.com/users/WillMoggridge/followers","following_url":"https://api.github.com/users/WillMoggridge/following{/other_user}","gists_url":"https://api.github.com/users/WillMoggridge/gists{/gist_id}","starred_url":"https://api.github.com/users/WillMoggridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillMoggridge/subscriptions","organizations_url":"https://api.github.com/users/WillMoggridge/orgs","repos_url":"https://api.github.com/users/WillMoggridge/repos","events_url":"https://api.github.com/users/WillMoggridge/events{/privacy}","received_events_url":"https://api.github.com/users/WillMoggridge/received_events","type":"User","site_admin":false},"body":"OK, I have pushed the change to PATH","created_at":"2016-10-26T12:39:02Z","updated_at":"2016-10-26T12:39:02Z","html_url":"https://github.com/ubuntudesign/django-template-finder-view/pull/2#discussion_r85112010","pull_request_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/comments/85112010"},"html":{"href":"https://github.com/ubuntudesign/django-template-finder-view/pull/2#discussion_r85112010"},"pull_request":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2","id":90048857,"html_url":"https://github.com/ubuntudesign/django-template-finder-view/pull/2","diff_url":"https://github.com/ubuntudesign/django-template-finder-view/pull/2.diff","patch_url":"https://github.com/ubuntudesign/django-template-finder-view/pull/2.patch","issue_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/issues/2","number":2,"state":"open","locked":false,"title":"Add option to specify custom folder to load templates from.","user":{"login":"WillMoggridge","id":322693,"avatar_url":"https://avatars.githubusercontent.com/u/322693?v=3","gravatar_id":"","url":"https://api.github.com/users/WillMoggridge","html_url":"https://github.com/WillMoggridge","followers_url":"https://api.github.com/users/WillMoggridge/followers","following_url":"https://api.github.com/users/WillMoggridge/following{/other_user}","gists_url":"https://api.github.com/users/WillMoggridge/gists{/gist_id}","starred_url":"https://api.github.com/users/WillMoggridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillMoggridge/subscriptions","organizations_url":"https://api.github.com/users/WillMoggridge/orgs","repos_url":"https://api.github.com/users/WillMoggridge/repos","events_url":"https://api.github.com/users/WillMoggridge/events{/privacy}","received_events_url":"https://api.github.com/users/WillMoggridge/received_events","type":"User","site_admin":false},"body":"Add a `TEMPLATE_FINDER_DIR` setting, which can specify a folder for the template finder to search inside. This will allow us to split up template includes and actual pages.\r\n\r\nIt can be left out, set to a relative folder, or set to an absolute folder.","created_at":"2016-10-19T16:49:47Z","updated_at":"2016-10-26T12:39:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93b7e664abe87907924bd542f40cf52210929443","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/issues/2/comments","statuses_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/statuses/d992d3e780d3dcc1bd6a4006fc8da5efb7fed731","head":{"label":"WillMoggridge:custom-subfolder","ref":"custom-subfolder","sha":"d992d3e780d3dcc1bd6a4006fc8da5efb7fed731","user":{"login":"WillMoggridge","id":322693,"avatar_url":"https://avatars.githubusercontent.com/u/322693?v=3","gravatar_id":"","url":"https://api.github.com/users/WillMoggridge","html_url":"https://github.com/WillMoggridge","followers_url":"https://api.github.com/users/WillMoggridge/followers","following_url":"https://api.github.com/users/WillMoggridge/following{/other_user}","gists_url":"https://api.github.com/users/WillMoggridge/gists{/gist_id}","starred_url":"https://api.github.com/users/WillMoggridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillMoggridge/subscriptions","organizations_url":"https://api.github.com/users/WillMoggridge/orgs","repos_url":"https://api.github.com/users/WillMoggridge/repos","events_url":"https://api.github.com/users/WillMoggridge/events{/privacy}","received_events_url":"https://api.github.com/users/WillMoggridge/received_events","type":"User","site_admin":false},"repo":{"id":71346805,"name":"django-template-finder-view","full_name":"WillMoggridge/django-template-finder-view","owner":{"login":"WillMoggridge","id":322693,"avatar_url":"https://avatars.githubusercontent.com/u/322693?v=3","gravatar_id":"","url":"https://api.github.com/users/WillMoggridge","html_url":"https://github.com/WillMoggridge","followers_url":"https://api.github.com/users/WillMoggridge/followers","following_url":"https://api.github.com/users/WillMoggridge/following{/other_user}","gists_url":"https://api.github.com/users/WillMoggridge/gists{/gist_id}","starred_url":"https://api.github.com/users/WillMoggridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillMoggridge/subscriptions","organizations_url":"https://api.github.com/users/WillMoggridge/orgs","repos_url":"https://api.github.com/users/WillMoggridge/repos","events_url":"https://api.github.com/users/WillMoggridge/events{/privacy}","received_events_url":"https://api.github.com/users/WillMoggridge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WillMoggridge/django-template-finder-view","description":null,"fork":true,"url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view","forks_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/forks","keys_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/teams","hooks_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/hooks","issue_events_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/issues/events{/number}","events_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/events","assignees_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/assignees{/user}","branches_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/branches{/branch}","tags_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/tags","blobs_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/statuses/{sha}","languages_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/languages","stargazers_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/stargazers","contributors_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/contributors","subscribers_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/subscribers","subscription_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/subscription","commits_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/contents/{+path}","compare_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/merges","archive_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/downloads","issues_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/issues{/number}","pulls_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/pulls{/number}","milestones_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/milestones{/number}","notifications_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/labels{/name}","releases_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/releases{/id}","deployments_url":"https://api.github.com/repos/WillMoggridge/django-template-finder-view/deployments","created_at":"2016-10-19T10:39:43Z","updated_at":"2016-10-19T10:39:44Z","pushed_at":"2016-10-26T12:38:40Z","git_url":"git://github.com/WillMoggridge/django-template-finder-view.git","ssh_url":"git@github.com:WillMoggridge/django-template-finder-view.git","clone_url":"https://github.com/WillMoggridge/django-template-finder-view.git","svn_url":"https://github.com/WillMoggridge/django-template-finder-view","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"master"}},"base":{"label":"ubuntudesign:master","ref":"master","sha":"dc20f127de60a500f320a7ed43804aa529ca5fe4","user":{"login":"ubuntudesign","id":8777739,"avatar_url":"https://avatars.githubusercontent.com/u/8777739?v=3","gravatar_id":"","url":"https://api.github.com/users/ubuntudesign","html_url":"https://github.com/ubuntudesign","followers_url":"https://api.github.com/users/ubuntudesign/followers","following_url":"https://api.github.com/users/ubuntudesign/following{/other_user}","gists_url":"https://api.github.com/users/ubuntudesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ubuntudesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubuntudesign/subscriptions","organizations_url":"https://api.github.com/users/ubuntudesign/orgs","repos_url":"https://api.github.com/users/ubuntudesign/repos","events_url":"https://api.github.com/users/ubuntudesign/events{/privacy}","received_events_url":"https://api.github.com/users/ubuntudesign/received_events","type":"Organization","site_admin":false},"repo":{"id":42966062,"name":"django-template-finder-view","full_name":"ubuntudesign/django-template-finder-view","owner":{"login":"ubuntudesign","id":8777739,"avatar_url":"https://avatars.githubusercontent.com/u/8777739?v=3","gravatar_id":"","url":"https://api.github.com/users/ubuntudesign","html_url":"https://github.com/ubuntudesign","followers_url":"https://api.github.com/users/ubuntudesign/followers","following_url":"https://api.github.com/users/ubuntudesign/following{/other_user}","gists_url":"https://api.github.com/users/ubuntudesign/gists{/gist_id}","starred_url":"https://api.github.com/users/ubuntudesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubuntudesign/subscriptions","organizations_url":"https://api.github.com/users/ubuntudesign/orgs","repos_url":"https://api.github.com/users/ubuntudesign/repos","events_url":"https://api.github.com/users/ubuntudesign/events{/privacy}","received_events_url":"https://api.github.com/users/ubuntudesign/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ubuntudesign/django-template-finder-view","description":null,"fork":false,"url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view","forks_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/forks","keys_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/teams","hooks_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/hooks","issue_events_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/issues/events{/number}","events_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/events","assignees_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/assignees{/user}","branches_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/branches{/branch}","tags_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/tags","blobs_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/statuses/{sha}","languages_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/languages","stargazers_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/stargazers","contributors_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/contributors","subscribers_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/subscribers","subscription_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/subscription","commits_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/contents/{+path}","compare_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/merges","archive_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/downloads","issues_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/issues{/number}","pulls_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls{/number}","milestones_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/milestones{/number}","notifications_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/labels{/name}","releases_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/releases{/id}","deployments_url":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/deployments","created_at":"2015-09-22T23:09:43Z","updated_at":"2015-09-22T23:40:20Z","pushed_at":"2016-10-26T12:38:40Z","git_url":"git://github.com/ubuntudesign/django-template-finder-view.git","ssh_url":"git@github.com:ubuntudesign/django-template-finder-view.git","clone_url":"https://github.com/ubuntudesign/django-template-finder-view.git","svn_url":"https://github.com/ubuntudesign/django-template-finder-view","homepage":null,"size":128,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2"},"html":{"href":"https://github.com/ubuntudesign/django-template-finder-view/pull/2"},"issue":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/issues/2"},"comments":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ubuntudesign/django-template-finder-view/statuses/d992d3e780d3dcc1bd6a4006fc8da5efb7fed731"}}}}
{"actor":{"display_login":"WillMoggridge"}}