{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/phrase/django-phrase/pulls/6","id":66755817,"html_url":"https://github.com/phrase/django-phrase/pull/6","diff_url":"https://github.com/phrase/django-phrase/pull/6.diff","patch_url":"https://github.com/phrase/django-phrase/pull/6.patch","issue_url":"https://api.github.com/repos/phrase/django-phrase/issues/6","number":6,"state":"open","locked":false,"title":"Fixed Django 1.9 escaping & conditional embedding of the JS template tag","user":{"login":"LouisAmon","id":6024791,"avatar_url":"https://avatars.githubusercontent.com/u/6024791?v=3","gravatar_id":"","url":"https://api.github.com/users/LouisAmon","html_url":"https://github.com/LouisAmon","followers_url":"https://api.github.com/users/LouisAmon/followers","following_url":"https://api.github.com/users/LouisAmon/following{/other_user}","gists_url":"https://api.github.com/users/LouisAmon/gists{/gist_id}","starred_url":"https://api.github.com/users/LouisAmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouisAmon/subscriptions","organizations_url":"https://api.github.com/users/LouisAmon/orgs","repos_url":"https://api.github.com/users/LouisAmon/repos","events_url":"https://api.github.com/users/LouisAmon/events{/privacy}","received_events_url":"https://api.github.com/users/LouisAmon/received_events","type":"User","site_admin":false},"body":"[As of Django 1.9](https://docs.djangoproject.com/en/1.9/howto/custom-template-tags/#django.template.Library.simple_tag), `simple_tag` has auto-escaping and requires to be marked as safe to avoid being escaped\r\n\r\nI also fixed a bug where the JS snippet would be loaded & displayed even when Phrase isn't explicitly enabled in settings","created_at":"2016-04-17T01:59:06Z","updated_at":"2016-04-17T01:59:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phrase/django-phrase/pulls/6/commits","review_comments_url":"https://api.github.com/repos/phrase/django-phrase/pulls/6/comments","review_comment_url":"https://api.github.com/repos/phrase/django-phrase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phrase/django-phrase/issues/6/comments","statuses_url":"https://api.github.com/repos/phrase/django-phrase/statuses/b55f1338172c6d37bfc706b48ad3e6dfcba5fd55","head":{"label":"LouisAmon:master","ref":"master","sha":"b55f1338172c6d37bfc706b48ad3e6dfcba5fd55","user":{"login":"LouisAmon","id":6024791,"avatar_url":"https://avatars.githubusercontent.com/u/6024791?v=3","gravatar_id":"","url":"https://api.github.com/users/LouisAmon","html_url":"https://github.com/LouisAmon","followers_url":"https://api.github.com/users/LouisAmon/followers","following_url":"https://api.github.com/users/LouisAmon/following{/other_user}","gists_url":"https://api.github.com/users/LouisAmon/gists{/gist_id}","starred_url":"https://api.github.com/users/LouisAmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouisAmon/subscriptions","organizations_url":"https://api.github.com/users/LouisAmon/orgs","repos_url":"https://api.github.com/users/LouisAmon/repos","events_url":"https://api.github.com/users/LouisAmon/events{/privacy}","received_events_url":"https://api.github.com/users/LouisAmon/received_events","type":"User","site_admin":false},"repo":{"id":56412855,"name":"django-phrase","full_name":"LouisAmon/django-phrase","owner":{"login":"LouisAmon","id":6024791,"avatar_url":"https://avatars.githubusercontent.com/u/6024791?v=3","gravatar_id":"","url":"https://api.github.com/users/LouisAmon","html_url":"https://github.com/LouisAmon","followers_url":"https://api.github.com/users/LouisAmon/followers","following_url":"https://api.github.com/users/LouisAmon/following{/other_user}","gists_url":"https://api.github.com/users/LouisAmon/gists{/gist_id}","starred_url":"https://api.github.com/users/LouisAmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouisAmon/subscriptions","organizations_url":"https://api.github.com/users/LouisAmon/orgs","repos_url":"https://api.github.com/users/LouisAmon/repos","events_url":"https://api.github.com/users/LouisAmon/events{/privacy}","received_events_url":"https://api.github.com/users/LouisAmon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LouisAmon/django-phrase","description":"PhraseApp for Django Applications","fork":true,"url":"https://api.github.com/repos/LouisAmon/django-phrase","forks_url":"https://api.github.com/repos/LouisAmon/django-phrase/forks","keys_url":"https://api.github.com/repos/LouisAmon/django-phrase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LouisAmon/django-phrase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LouisAmon/django-phrase/teams","hooks_url":"https://api.github.com/repos/LouisAmon/django-phrase/hooks","issue_events_url":"https://api.github.com/repos/LouisAmon/django-phrase/issues/events{/number}","events_url":"https://api.github.com/repos/LouisAmon/django-phrase/events","assignees_url":"https://api.github.com/repos/LouisAmon/django-phrase/assignees{/user}","branches_url":"https://api.github.com/repos/LouisAmon/django-phrase/branches{/branch}","tags_url":"https://api.github.com/repos/LouisAmon/django-phrase/tags","blobs_url":"https://api.github.com/repos/LouisAmon/django-phrase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LouisAmon/django-phrase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LouisAmon/django-phrase/git/refs{/sha}","trees_url":"https://api.github.com/repos/LouisAmon/django-phrase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LouisAmon/django-phrase/statuses/{sha}","languages_url":"https://api.github.com/repos/LouisAmon/django-phrase/languages","stargazers_url":"https://api.github.com/repos/LouisAmon/django-phrase/stargazers","contributors_url":"https://api.github.com/repos/LouisAmon/django-phrase/contributors","subscribers_url":"https://api.github.com/repos/LouisAmon/django-phrase/subscribers","subscription_url":"https://api.github.com/repos/LouisAmon/django-phrase/subscription","commits_url":"https://api.github.com/repos/LouisAmon/django-phrase/commits{/sha}","git_commits_url":"https://api.github.com/repos/LouisAmon/django-phrase/git/commits{/sha}","comments_url":"https://api.github.com/repos/LouisAmon/django-phrase/comments{/number}","issue_comment_url":"https://api.github.com/repos/LouisAmon/django-phrase/issues/comments{/number}","contents_url":"https://api.github.com/repos/LouisAmon/django-phrase/contents/{+path}","compare_url":"https://api.github.com/repos/LouisAmon/django-phrase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LouisAmon/django-phrase/merges","archive_url":"https://api.github.com/repos/LouisAmon/django-phrase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LouisAmon/django-phrase/downloads","issues_url":"https://api.github.com/repos/LouisAmon/django-phrase/issues{/number}","pulls_url":"https://api.github.com/repos/LouisAmon/django-phrase/pulls{/number}","milestones_url":"https://api.github.com/repos/LouisAmon/django-phrase/milestones{/number}","notifications_url":"https://api.github.com/repos/LouisAmon/django-phrase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LouisAmon/django-phrase/labels{/name}","releases_url":"https://api.github.com/repos/LouisAmon/django-phrase/releases{/id}","deployments_url":"https://api.github.com/repos/LouisAmon/django-phrase/deployments","created_at":"2016-04-17T01:06:31Z","updated_at":"2016-04-17T01:06:32Z","pushed_at":"2016-04-17T01:48:47Z","git_url":"git://github.com/LouisAmon/django-phrase.git","ssh_url":"git@github.com:LouisAmon/django-phrase.git","clone_url":"https://github.com/LouisAmon/django-phrase.git","svn_url":"https://github.com/LouisAmon/django-phrase","homepage":"https://phraseapp.com","size":14,"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":"phrase:master","ref":"master","sha":"42c8d6957268158709592f39ec56195cf4c1718d","user":{"login":"phrase","id":1502287,"avatar_url":"https://avatars.githubusercontent.com/u/1502287?v=3","gravatar_id":"","url":"https://api.github.com/users/phrase","html_url":"https://github.com/phrase","followers_url":"https://api.github.com/users/phrase/followers","following_url":"https://api.github.com/users/phrase/following{/other_user}","gists_url":"https://api.github.com/users/phrase/gists{/gist_id}","starred_url":"https://api.github.com/users/phrase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phrase/subscriptions","organizations_url":"https://api.github.com/users/phrase/orgs","repos_url":"https://api.github.com/users/phrase/repos","events_url":"https://api.github.com/users/phrase/events{/privacy}","received_events_url":"https://api.github.com/users/phrase/received_events","type":"Organization","site_admin":false},"repo":{"id":11146481,"name":"django-phrase","full_name":"phrase/django-phrase","owner":{"login":"phrase","id":1502287,"avatar_url":"https://avatars.githubusercontent.com/u/1502287?v=3","gravatar_id":"","url":"https://api.github.com/users/phrase","html_url":"https://github.com/phrase","followers_url":"https://api.github.com/users/phrase/followers","following_url":"https://api.github.com/users/phrase/following{/other_user}","gists_url":"https://api.github.com/users/phrase/gists{/gist_id}","starred_url":"https://api.github.com/users/phrase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phrase/subscriptions","organizations_url":"https://api.github.com/users/phrase/orgs","repos_url":"https://api.github.com/users/phrase/repos","events_url":"https://api.github.com/users/phrase/events{/privacy}","received_events_url":"https://api.github.com/users/phrase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phrase/django-phrase","description":"PhraseApp for Django Applications","fork":false,"url":"https://api.github.com/repos/phrase/django-phrase","forks_url":"https://api.github.com/repos/phrase/django-phrase/forks","keys_url":"https://api.github.com/repos/phrase/django-phrase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phrase/django-phrase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phrase/django-phrase/teams","hooks_url":"https://api.github.com/repos/phrase/django-phrase/hooks","issue_events_url":"https://api.github.com/repos/phrase/django-phrase/issues/events{/number}","events_url":"https://api.github.com/repos/phrase/django-phrase/events","assignees_url":"https://api.github.com/repos/phrase/django-phrase/assignees{/user}","branches_url":"https://api.github.com/repos/phrase/django-phrase/branches{/branch}","tags_url":"https://api.github.com/repos/phrase/django-phrase/tags","blobs_url":"https://api.github.com/repos/phrase/django-phrase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phrase/django-phrase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phrase/django-phrase/git/refs{/sha}","trees_url":"https://api.github.com/repos/phrase/django-phrase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phrase/django-phrase/statuses/{sha}","languages_url":"https://api.github.com/repos/phrase/django-phrase/languages","stargazers_url":"https://api.github.com/repos/phrase/django-phrase/stargazers","contributors_url":"https://api.github.com/repos/phrase/django-phrase/contributors","subscribers_url":"https://api.github.com/repos/phrase/django-phrase/subscribers","subscription_url":"https://api.github.com/repos/phrase/django-phrase/subscription","commits_url":"https://api.github.com/repos/phrase/django-phrase/commits{/sha}","git_commits_url":"https://api.github.com/repos/phrase/django-phrase/git/commits{/sha}","comments_url":"https://api.github.com/repos/phrase/django-phrase/comments{/number}","issue_comment_url":"https://api.github.com/repos/phrase/django-phrase/issues/comments{/number}","contents_url":"https://api.github.com/repos/phrase/django-phrase/contents/{+path}","compare_url":"https://api.github.com/repos/phrase/django-phrase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phrase/django-phrase/merges","archive_url":"https://api.github.com/repos/phrase/django-phrase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phrase/django-phrase/downloads","issues_url":"https://api.github.com/repos/phrase/django-phrase/issues{/number}","pulls_url":"https://api.github.com/repos/phrase/django-phrase/pulls{/number}","milestones_url":"https://api.github.com/repos/phrase/django-phrase/milestones{/number}","notifications_url":"https://api.github.com/repos/phrase/django-phrase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phrase/django-phrase/labels{/name}","releases_url":"https://api.github.com/repos/phrase/django-phrase/releases{/id}","deployments_url":"https://api.github.com/repos/phrase/django-phrase/deployments","created_at":"2013-07-03T09:15:00Z","updated_at":"2016-01-11T13:56:29Z","pushed_at":"2015-08-27T08:23:57Z","git_url":"git://github.com/phrase/django-phrase.git","ssh_url":"git@github.com:phrase/django-phrase.git","clone_url":"https://github.com/phrase/django-phrase.git","svn_url":"https://github.com/phrase/django-phrase","homepage":"https://phraseapp.com","size":203,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phrase/django-phrase/pulls/6"},"html":{"href":"https://github.com/phrase/django-phrase/pull/6"},"issue":{"href":"https://api.github.com/repos/phrase/django-phrase/issues/6"},"comments":{"href":"https://api.github.com/repos/phrase/django-phrase/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/phrase/django-phrase/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/phrase/django-phrase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phrase/django-phrase/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/phrase/django-phrase/statuses/b55f1338172c6d37bfc706b48ad3e6dfcba5fd55"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":13,"changed_files":1}}