{"action":"created","comment":{"url":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/comments/45108425","id":45108425,"diff_hunk":"@@ -0,0 +1,11 @@\n+from test_project import settings\n+\n+\n+def internal_name_change(request):\n+    try:\n+        title = settings.AASEMBLE_OVERRIDE_NAME\n+    except AttributeError:\n+        title = 'aaSemble'","path":"aasemble/django/apps/main/context_processors.py","position":8,"original_position":8,"commit_id":"506543e08c33146ab92f74ea3f40a9e3ca725deb","original_commit_id":"506543e08c33146ab92f74ea3f40a9e3ca725deb","user":{"login":"sorenh","id":160090,"avatar_url":"https://avatars.githubusercontent.com/u/160090?v=3","gravatar_id":"","url":"https://api.github.com/users/sorenh","html_url":"https://github.com/sorenh","followers_url":"https://api.github.com/users/sorenh/followers","following_url":"https://api.github.com/users/sorenh/following{/other_user}","gists_url":"https://api.github.com/users/sorenh/gists{/gist_id}","starred_url":"https://api.github.com/users/sorenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorenh/subscriptions","organizations_url":"https://api.github.com/users/sorenh/orgs","repos_url":"https://api.github.com/users/sorenh/repos","events_url":"https://api.github.com/users/sorenh/events{/privacy}","received_events_url":"https://api.github.com/users/sorenh/received_events","type":"User","site_admin":false},"body":"`title = getattr(settings, 'AASEMBLE_OVERRIDE_NAME', 'aaSemble')` should do the trick. I.e. without the `default=`.","created_at":"2015-11-17T19:35:56Z","updated_at":"2015-11-17T19:35:56Z","html_url":"https://github.com/aaSemble/python-aasemble.django/pull/79#discussion_r45108425","pull_request_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/comments/45108425"},"html":{"href":"https://github.com/aaSemble/python-aasemble.django/pull/79#discussion_r45108425"},"pull_request":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79","id":50933737,"html_url":"https://github.com/aaSemble/python-aasemble.django/pull/79","diff_url":"https://github.com/aaSemble/python-aasemble.django/pull/79.diff","patch_url":"https://github.com/aaSemble/python-aasemble.django/pull/79.patch","issue_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/issues/79","number":79,"state":"open","locked":false,"title":"Changing title for internal installations","user":{"login":"mayankkapoor","id":1268053,"avatar_url":"https://avatars.githubusercontent.com/u/1268053?v=3","gravatar_id":"","url":"https://api.github.com/users/mayankkapoor","html_url":"https://github.com/mayankkapoor","followers_url":"https://api.github.com/users/mayankkapoor/followers","following_url":"https://api.github.com/users/mayankkapoor/following{/other_user}","gists_url":"https://api.github.com/users/mayankkapoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mayankkapoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayankkapoor/subscriptions","organizations_url":"https://api.github.com/users/mayankkapoor/orgs","repos_url":"https://api.github.com/users/mayankkapoor/repos","events_url":"https://api.github.com/users/mayankkapoor/events{/privacy}","received_events_url":"https://api.github.com/users/mayankkapoor/received_events","type":"User","site_admin":false},"body":"This will handle the use case for internal assemble installations. Let\nme know if there is a better way to handle the use case of showing a\ndifferent name in title if internally deployed.","created_at":"2015-11-17T11:15:48Z","updated_at":"2015-11-17T19:35:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d80f758f96ab25968a2858c0a83f05153768eee3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79/commits","review_comments_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79/comments","review_comment_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/issues/79/comments","statuses_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/statuses/506543e08c33146ab92f74ea3f40a9e3ca725deb","head":{"label":"mayankkapoor:change-title-for-internal-installations","ref":"change-title-for-internal-installations","sha":"506543e08c33146ab92f74ea3f40a9e3ca725deb","user":{"login":"mayankkapoor","id":1268053,"avatar_url":"https://avatars.githubusercontent.com/u/1268053?v=3","gravatar_id":"","url":"https://api.github.com/users/mayankkapoor","html_url":"https://github.com/mayankkapoor","followers_url":"https://api.github.com/users/mayankkapoor/followers","following_url":"https://api.github.com/users/mayankkapoor/following{/other_user}","gists_url":"https://api.github.com/users/mayankkapoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mayankkapoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayankkapoor/subscriptions","organizations_url":"https://api.github.com/users/mayankkapoor/orgs","repos_url":"https://api.github.com/users/mayankkapoor/repos","events_url":"https://api.github.com/users/mayankkapoor/events{/privacy}","received_events_url":"https://api.github.com/users/mayankkapoor/received_events","type":"User","site_admin":false},"repo":{"id":45245740,"name":"python-aasemble.django","full_name":"mayankkapoor/python-aasemble.django","owner":{"login":"mayankkapoor","id":1268053,"avatar_url":"https://avatars.githubusercontent.com/u/1268053?v=3","gravatar_id":"","url":"https://api.github.com/users/mayankkapoor","html_url":"https://github.com/mayankkapoor","followers_url":"https://api.github.com/users/mayankkapoor/followers","following_url":"https://api.github.com/users/mayankkapoor/following{/other_user}","gists_url":"https://api.github.com/users/mayankkapoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mayankkapoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayankkapoor/subscriptions","organizations_url":"https://api.github.com/users/mayankkapoor/orgs","repos_url":"https://api.github.com/users/mayankkapoor/repos","events_url":"https://api.github.com/users/mayankkapoor/events{/privacy}","received_events_url":"https://api.github.com/users/mayankkapoor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mayankkapoor/python-aasemble.django","description":"","fork":true,"url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django","forks_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/forks","keys_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/teams","hooks_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/hooks","issue_events_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/issues/events{/number}","events_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/events","assignees_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/assignees{/user}","branches_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/branches{/branch}","tags_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/tags","blobs_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/git/refs{/sha}","trees_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/statuses/{sha}","languages_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/languages","stargazers_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/stargazers","contributors_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/contributors","subscribers_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/subscribers","subscription_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/subscription","commits_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/commits{/sha}","git_commits_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/git/commits{/sha}","comments_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/comments{/number}","issue_comment_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/issues/comments{/number}","contents_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/contents/{+path}","compare_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/merges","archive_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/downloads","issues_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/issues{/number}","pulls_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/pulls{/number}","milestones_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/milestones{/number}","notifications_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/labels{/name}","releases_url":"https://api.github.com/repos/mayankkapoor/python-aasemble.django/releases{/id}","created_at":"2015-10-30T10:54:03Z","updated_at":"2015-10-30T10:54:04Z","pushed_at":"2015-11-17T18:14:18Z","git_url":"git://github.com/mayankkapoor/python-aasemble.django.git","ssh_url":"git@github.com:mayankkapoor/python-aasemble.django.git","clone_url":"https://github.com/mayankkapoor/python-aasemble.django.git","svn_url":"https://github.com/mayankkapoor/python-aasemble.django","homepage":null,"size":301,"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":"aaSemble:master","ref":"master","sha":"abe7bbaf0448eeaa3c6f56234add6594c1a625d0","user":{"login":"aaSemble","id":11839079,"avatar_url":"https://avatars.githubusercontent.com/u/11839079?v=3","gravatar_id":"","url":"https://api.github.com/users/aaSemble","html_url":"https://github.com/aaSemble","followers_url":"https://api.github.com/users/aaSemble/followers","following_url":"https://api.github.com/users/aaSemble/following{/other_user}","gists_url":"https://api.github.com/users/aaSemble/gists{/gist_id}","starred_url":"https://api.github.com/users/aaSemble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaSemble/subscriptions","organizations_url":"https://api.github.com/users/aaSemble/orgs","repos_url":"https://api.github.com/users/aaSemble/repos","events_url":"https://api.github.com/users/aaSemble/events{/privacy}","received_events_url":"https://api.github.com/users/aaSemble/received_events","type":"Organization","site_admin":false},"repo":{"id":41492096,"name":"python-aasemble.django","full_name":"aaSemble/python-aasemble.django","owner":{"login":"aaSemble","id":11839079,"avatar_url":"https://avatars.githubusercontent.com/u/11839079?v=3","gravatar_id":"","url":"https://api.github.com/users/aaSemble","html_url":"https://github.com/aaSemble","followers_url":"https://api.github.com/users/aaSemble/followers","following_url":"https://api.github.com/users/aaSemble/following{/other_user}","gists_url":"https://api.github.com/users/aaSemble/gists{/gist_id}","starred_url":"https://api.github.com/users/aaSemble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaSemble/subscriptions","organizations_url":"https://api.github.com/users/aaSemble/orgs","repos_url":"https://api.github.com/users/aaSemble/repos","events_url":"https://api.github.com/users/aaSemble/events{/privacy}","received_events_url":"https://api.github.com/users/aaSemble/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aaSemble/python-aasemble.django","description":"","fork":false,"url":"https://api.github.com/repos/aaSemble/python-aasemble.django","forks_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/forks","keys_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/teams","hooks_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/hooks","issue_events_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/issues/events{/number}","events_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/events","assignees_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/assignees{/user}","branches_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/branches{/branch}","tags_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/tags","blobs_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/git/refs{/sha}","trees_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/statuses/{sha}","languages_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/languages","stargazers_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/stargazers","contributors_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/contributors","subscribers_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/subscribers","subscription_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/subscription","commits_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/commits{/sha}","git_commits_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/git/commits{/sha}","comments_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/comments{/number}","issue_comment_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/issues/comments{/number}","contents_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/contents/{+path}","compare_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/merges","archive_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/downloads","issues_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/issues{/number}","pulls_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls{/number}","milestones_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/milestones{/number}","notifications_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/labels{/name}","releases_url":"https://api.github.com/repos/aaSemble/python-aasemble.django/releases{/id}","created_at":"2015-08-27T14:38:40Z","updated_at":"2015-11-13T11:30:23Z","pushed_at":"2015-11-17T19:32:24Z","git_url":"git://github.com/aaSemble/python-aasemble.django.git","ssh_url":"git@github.com:aaSemble/python-aasemble.django.git","clone_url":"https://github.com/aaSemble/python-aasemble.django.git","svn_url":"https://github.com/aaSemble/python-aasemble.django","homepage":null,"size":338,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":11,"forks":9,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79"},"html":{"href":"https://github.com/aaSemble/python-aasemble.django/pull/79"},"issue":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/issues/79"},"comments":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/aaSemble/python-aasemble.django/statuses/506543e08c33146ab92f74ea3f40a9e3ca725deb"}}}}