{"action":"created","comment":{"url":"https://api.github.com/repos/pydanny/dj-stripe/pulls/comments/44825663","id":44825663,"diff_hunk":"@@ -207,3 +207,47 @@ Subscriptions can be extended by using the ``CurrentSubscription.extend`` method\n .. warning::\n \n     Subscription extensions are achieved by manipulating the ``trial_end`` of the subscription instance, which means that Stripe will change the status to ``trialing``.\n+\n+Customizing templates\n+=====================\n+\n+Templates can be customized by copying one or more of them into the project's `TEMPLATES` folder, under a new folder `djstripe`, and editing accordingly. Frequently this folder is specified in the settings file as\n+\n+.. code-block:: python\n+\n+    TEMPLATES = [\n+        {\n+            'BACKEND': 'django.template.backends.django.DjangoTemplates',\n+            'DIRS': [\n+                join(BASE_DIR, 'templates'),  # <--- This folder","path":"docs/usage.rst","position":16,"original_position":16,"commit_id":"e1cd22c921563e1d46c20ed25e8e6dff1d14d9b9","original_commit_id":"e1cd22c921563e1d46c20ed25e8e6dff1d14d9b9","user":{"login":"areski","id":53455,"avatar_url":"https://avatars.githubusercontent.com/u/53455?v=3","gravatar_id":"","url":"https://api.github.com/users/areski","html_url":"https://github.com/areski","followers_url":"https://api.github.com/users/areski/followers","following_url":"https://api.github.com/users/areski/following{/other_user}","gists_url":"https://api.github.com/users/areski/gists{/gist_id}","starred_url":"https://api.github.com/users/areski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areski/subscriptions","organizations_url":"https://api.github.com/users/areski/orgs","repos_url":"https://api.github.com/users/areski/repos","events_url":"https://api.github.com/users/areski/events{/privacy}","received_events_url":"https://api.github.com/users/areski/received_events","type":"User","site_admin":false},"body":"it will be much better indeed","created_at":"2015-11-13T19:46:59Z","updated_at":"2015-11-13T19:46:59Z","html_url":"https://github.com/pydanny/dj-stripe/pull/254#discussion_r44825663","pull_request_url":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254","_links":{"self":{"href":"https://api.github.com/repos/pydanny/dj-stripe/pulls/comments/44825663"},"html":{"href":"https://github.com/pydanny/dj-stripe/pull/254#discussion_r44825663"},"pull_request":{"href":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254"}}},"pull_request":{"url":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254","id":45474868,"html_url":"https://github.com/pydanny/dj-stripe/pull/254","diff_url":"https://github.com/pydanny/dj-stripe/pull/254.diff","patch_url":"https://github.com/pydanny/dj-stripe/pull/254.patch","issue_url":"https://api.github.com/repos/pydanny/dj-stripe/issues/254","number":254,"state":"open","locked":false,"title":"docs: add a note about how to customize templates.","user":{"login":"cjrh","id":480395,"avatar_url":"https://avatars.githubusercontent.com/u/480395?v=3","gravatar_id":"","url":"https://api.github.com/users/cjrh","html_url":"https://github.com/cjrh","followers_url":"https://api.github.com/users/cjrh/followers","following_url":"https://api.github.com/users/cjrh/following{/other_user}","gists_url":"https://api.github.com/users/cjrh/gists{/gist_id}","starred_url":"https://api.github.com/users/cjrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjrh/subscriptions","organizations_url":"https://api.github.com/users/cjrh/orgs","repos_url":"https://api.github.com/users/cjrh/repos","events_url":"https://api.github.com/users/cjrh/events{/privacy}","received_events_url":"https://api.github.com/users/cjrh/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-19T11:21:07Z","updated_at":"2015-11-13T19:46:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c525ff01e33c7a944ff14bbf28814f9ea7f00a03","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254/commits","review_comments_url":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254/comments","review_comment_url":"https://api.github.com/repos/pydanny/dj-stripe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pydanny/dj-stripe/issues/254/comments","statuses_url":"https://api.github.com/repos/pydanny/dj-stripe/statuses/e1cd22c921563e1d46c20ed25e8e6dff1d14d9b9","head":{"label":"cjrh:docs-mention-customize-views","ref":"docs-mention-customize-views","sha":"e1cd22c921563e1d46c20ed25e8e6dff1d14d9b9","user":{"login":"cjrh","id":480395,"avatar_url":"https://avatars.githubusercontent.com/u/480395?v=3","gravatar_id":"","url":"https://api.github.com/users/cjrh","html_url":"https://github.com/cjrh","followers_url":"https://api.github.com/users/cjrh/followers","following_url":"https://api.github.com/users/cjrh/following{/other_user}","gists_url":"https://api.github.com/users/cjrh/gists{/gist_id}","starred_url":"https://api.github.com/users/cjrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjrh/subscriptions","organizations_url":"https://api.github.com/users/cjrh/orgs","repos_url":"https://api.github.com/users/cjrh/repos","events_url":"https://api.github.com/users/cjrh/events{/privacy}","received_events_url":"https://api.github.com/users/cjrh/received_events","type":"User","site_admin":false},"repo":{"id":42769443,"name":"dj-stripe","full_name":"cjrh/dj-stripe","owner":{"login":"cjrh","id":480395,"avatar_url":"https://avatars.githubusercontent.com/u/480395?v=3","gravatar_id":"","url":"https://api.github.com/users/cjrh","html_url":"https://github.com/cjrh","followers_url":"https://api.github.com/users/cjrh/followers","following_url":"https://api.github.com/users/cjrh/following{/other_user}","gists_url":"https://api.github.com/users/cjrh/gists{/gist_id}","starred_url":"https://api.github.com/users/cjrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjrh/subscriptions","organizations_url":"https://api.github.com/users/cjrh/orgs","repos_url":"https://api.github.com/users/cjrh/repos","events_url":"https://api.github.com/users/cjrh/events{/privacy}","received_events_url":"https://api.github.com/users/cjrh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjrh/dj-stripe","description":"Django + Stripe Made Easy","fork":true,"url":"https://api.github.com/repos/cjrh/dj-stripe","forks_url":"https://api.github.com/repos/cjrh/dj-stripe/forks","keys_url":"https://api.github.com/repos/cjrh/dj-stripe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjrh/dj-stripe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjrh/dj-stripe/teams","hooks_url":"https://api.github.com/repos/cjrh/dj-stripe/hooks","issue_events_url":"https://api.github.com/repos/cjrh/dj-stripe/issues/events{/number}","events_url":"https://api.github.com/repos/cjrh/dj-stripe/events","assignees_url":"https://api.github.com/repos/cjrh/dj-stripe/assignees{/user}","branches_url":"https://api.github.com/repos/cjrh/dj-stripe/branches{/branch}","tags_url":"https://api.github.com/repos/cjrh/dj-stripe/tags","blobs_url":"https://api.github.com/repos/cjrh/dj-stripe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjrh/dj-stripe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjrh/dj-stripe/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjrh/dj-stripe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjrh/dj-stripe/statuses/{sha}","languages_url":"https://api.github.com/repos/cjrh/dj-stripe/languages","stargazers_url":"https://api.github.com/repos/cjrh/dj-stripe/stargazers","contributors_url":"https://api.github.com/repos/cjrh/dj-stripe/contributors","subscribers_url":"https://api.github.com/repos/cjrh/dj-stripe/subscribers","subscription_url":"https://api.github.com/repos/cjrh/dj-stripe/subscription","commits_url":"https://api.github.com/repos/cjrh/dj-stripe/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjrh/dj-stripe/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjrh/dj-stripe/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjrh/dj-stripe/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjrh/dj-stripe/contents/{+path}","compare_url":"https://api.github.com/repos/cjrh/dj-stripe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjrh/dj-stripe/merges","archive_url":"https://api.github.com/repos/cjrh/dj-stripe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjrh/dj-stripe/downloads","issues_url":"https://api.github.com/repos/cjrh/dj-stripe/issues{/number}","pulls_url":"https://api.github.com/repos/cjrh/dj-stripe/pulls{/number}","milestones_url":"https://api.github.com/repos/cjrh/dj-stripe/milestones{/number}","notifications_url":"https://api.github.com/repos/cjrh/dj-stripe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjrh/dj-stripe/labels{/name}","releases_url":"https://api.github.com/repos/cjrh/dj-stripe/releases{/id}","created_at":"2015-09-19T10:49:12Z","updated_at":"2015-09-19T10:49:13Z","pushed_at":"2015-09-19T11:20:13Z","git_url":"git://github.com/cjrh/dj-stripe.git","ssh_url":"git@github.com:cjrh/dj-stripe.git","clone_url":"https://github.com/cjrh/dj-stripe.git","svn_url":"https://github.com/cjrh/dj-stripe","homepage":"","size":971,"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":"pydanny:master","ref":"master","sha":"9fcc4d996151478f7a8ea64503e3e0f8b3072d06","user":{"login":"pydanny","id":62857,"avatar_url":"https://avatars.githubusercontent.com/u/62857?v=3","gravatar_id":"","url":"https://api.github.com/users/pydanny","html_url":"https://github.com/pydanny","followers_url":"https://api.github.com/users/pydanny/followers","following_url":"https://api.github.com/users/pydanny/following{/other_user}","gists_url":"https://api.github.com/users/pydanny/gists{/gist_id}","starred_url":"https://api.github.com/users/pydanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydanny/subscriptions","organizations_url":"https://api.github.com/users/pydanny/orgs","repos_url":"https://api.github.com/users/pydanny/repos","events_url":"https://api.github.com/users/pydanny/events{/privacy}","received_events_url":"https://api.github.com/users/pydanny/received_events","type":"User","site_admin":false},"repo":{"id":11901762,"name":"dj-stripe","full_name":"pydanny/dj-stripe","owner":{"login":"pydanny","id":62857,"avatar_url":"https://avatars.githubusercontent.com/u/62857?v=3","gravatar_id":"","url":"https://api.github.com/users/pydanny","html_url":"https://github.com/pydanny","followers_url":"https://api.github.com/users/pydanny/followers","following_url":"https://api.github.com/users/pydanny/following{/other_user}","gists_url":"https://api.github.com/users/pydanny/gists{/gist_id}","starred_url":"https://api.github.com/users/pydanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydanny/subscriptions","organizations_url":"https://api.github.com/users/pydanny/orgs","repos_url":"https://api.github.com/users/pydanny/repos","events_url":"https://api.github.com/users/pydanny/events{/privacy}","received_events_url":"https://api.github.com/users/pydanny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pydanny/dj-stripe","description":"Django + Stripe Made Easy","fork":false,"url":"https://api.github.com/repos/pydanny/dj-stripe","forks_url":"https://api.github.com/repos/pydanny/dj-stripe/forks","keys_url":"https://api.github.com/repos/pydanny/dj-stripe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pydanny/dj-stripe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pydanny/dj-stripe/teams","hooks_url":"https://api.github.com/repos/pydanny/dj-stripe/hooks","issue_events_url":"https://api.github.com/repos/pydanny/dj-stripe/issues/events{/number}","events_url":"https://api.github.com/repos/pydanny/dj-stripe/events","assignees_url":"https://api.github.com/repos/pydanny/dj-stripe/assignees{/user}","branches_url":"https://api.github.com/repos/pydanny/dj-stripe/branches{/branch}","tags_url":"https://api.github.com/repos/pydanny/dj-stripe/tags","blobs_url":"https://api.github.com/repos/pydanny/dj-stripe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pydanny/dj-stripe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pydanny/dj-stripe/git/refs{/sha}","trees_url":"https://api.github.com/repos/pydanny/dj-stripe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pydanny/dj-stripe/statuses/{sha}","languages_url":"https://api.github.com/repos/pydanny/dj-stripe/languages","stargazers_url":"https://api.github.com/repos/pydanny/dj-stripe/stargazers","contributors_url":"https://api.github.com/repos/pydanny/dj-stripe/contributors","subscribers_url":"https://api.github.com/repos/pydanny/dj-stripe/subscribers","subscription_url":"https://api.github.com/repos/pydanny/dj-stripe/subscription","commits_url":"https://api.github.com/repos/pydanny/dj-stripe/commits{/sha}","git_commits_url":"https://api.github.com/repos/pydanny/dj-stripe/git/commits{/sha}","comments_url":"https://api.github.com/repos/pydanny/dj-stripe/comments{/number}","issue_comment_url":"https://api.github.com/repos/pydanny/dj-stripe/issues/comments{/number}","contents_url":"https://api.github.com/repos/pydanny/dj-stripe/contents/{+path}","compare_url":"https://api.github.com/repos/pydanny/dj-stripe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pydanny/dj-stripe/merges","archive_url":"https://api.github.com/repos/pydanny/dj-stripe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pydanny/dj-stripe/downloads","issues_url":"https://api.github.com/repos/pydanny/dj-stripe/issues{/number}","pulls_url":"https://api.github.com/repos/pydanny/dj-stripe/pulls{/number}","milestones_url":"https://api.github.com/repos/pydanny/dj-stripe/milestones{/number}","notifications_url":"https://api.github.com/repos/pydanny/dj-stripe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pydanny/dj-stripe/labels{/name}","releases_url":"https://api.github.com/repos/pydanny/dj-stripe/releases{/id}","created_at":"2013-08-05T15:31:30Z","updated_at":"2015-11-11T01:03:51Z","pushed_at":"2015-11-12T16:30:35Z","git_url":"git://github.com/pydanny/dj-stripe.git","ssh_url":"git@github.com:pydanny/dj-stripe.git","clone_url":"https://github.com/pydanny/dj-stripe.git","svn_url":"https://github.com/pydanny/dj-stripe","homepage":"","size":2806,"stargazers_count":237,"watchers_count":237,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":42,"forks":114,"open_issues":42,"watchers":237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254"},"html":{"href":"https://github.com/pydanny/dj-stripe/pull/254"},"issue":{"href":"https://api.github.com/repos/pydanny/dj-stripe/issues/254"},"comments":{"href":"https://api.github.com/repos/pydanny/dj-stripe/issues/254/comments"},"review_comments":{"href":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254/comments"},"review_comment":{"href":"https://api.github.com/repos/pydanny/dj-stripe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pydanny/dj-stripe/pulls/254/commits"},"statuses":{"href":"https://api.github.com/repos/pydanny/dj-stripe/statuses/e1cd22c921563e1d46c20ed25e8e6dff1d14d9b9"}}}}