{"action":"created","comment":{"url":"https://api.github.com/repos/fidals/refarm-site/pulls/comments/115690919","pull_request_review_id":37249629,"id":115690919,"diff_hunk":"@@ -113,8 +137,14 @@ def __str__(self):\n     def __getattribute__(self, name):\n         \"\"\"Some fields should give default value.\"\"\"\n         attr = super(Page, self).__getattribute__(name)\n-        if name in ['title', 'h1', 'menu_title'] and not attr:\n-            return self.name\n+        if not attr:","path":"pages/models.py","position":68,"original_position":68,"commit_id":"2c0b39b4d0c7f22023402a629576950b9584ba56","original_commit_id":"2c0b39b4d0c7f22023402a629576950b9584ba56","user":{"login":"artemiyds2","id":13870342,"avatar_url":"https://avatars3.githubusercontent.com/u/13870342?v=3","gravatar_id":"","url":"https://api.github.com/users/artemiyds2","html_url":"https://github.com/artemiyds2","followers_url":"https://api.github.com/users/artemiyds2/followers","following_url":"https://api.github.com/users/artemiyds2/following{/other_user}","gists_url":"https://api.github.com/users/artemiyds2/gists{/gist_id}","starred_url":"https://api.github.com/users/artemiyds2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemiyds2/subscriptions","organizations_url":"https://api.github.com/users/artemiyds2/orgs","repos_url":"https://api.github.com/users/artemiyds2/repos","events_url":"https://api.github.com/users/artemiyds2/events{/privacy}","received_events_url":"https://api.github.com/users/artemiyds2/received_events","type":"User","site_admin":false},"body":"Обсудили. Выпиливаем __getattribute__, создаем проперти display_*","created_at":"2017-05-10T09:12:26Z","updated_at":"2017-05-10T09:12:26Z","html_url":"https://github.com/fidals/refarm-site/pull/68#discussion_r115690919","pull_request_url":"https://api.github.com/repos/fidals/refarm-site/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/fidals/refarm-site/pulls/comments/115690919"},"html":{"href":"https://github.com/fidals/refarm-site/pull/68#discussion_r115690919"},"pull_request":{"href":"https://api.github.com/repos/fidals/refarm-site/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/fidals/refarm-site/pulls/68","id":118937739,"html_url":"https://github.com/fidals/refarm-site/pull/68","diff_url":"https://github.com/fidals/refarm-site/pull/68.diff","patch_url":"https://github.com/fidals/refarm-site/pull/68.patch","issue_url":"https://api.github.com/repos/fidals/refarm-site/issues/68","number":68,"state":"open","locked":false,"title":"SEO page templates","user":{"login":"dveselov","id":10365705,"avatar_url":"https://avatars3.githubusercontent.com/u/10365705?v=3","gravatar_id":"","url":"https://api.github.com/users/dveselov","html_url":"https://github.com/dveselov","followers_url":"https://api.github.com/users/dveselov/followers","following_url":"https://api.github.com/users/dveselov/following{/other_user}","gists_url":"https://api.github.com/users/dveselov/gists{/gist_id}","starred_url":"https://api.github.com/users/dveselov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dveselov/subscriptions","organizations_url":"https://api.github.com/users/dveselov/orgs","repos_url":"https://api.github.com/users/dveselov/repos","events_url":"https://api.github.com/users/dveselov/events{/privacy}","received_events_url":"https://api.github.com/users/dveselov/received_events","type":"User","site_admin":false},"body":"* https://trello.com/c/hZD7Iqxa/261-se-seo-templates","created_at":"2017-05-04T10:06:08Z","updated_at":"2017-05-10T09:12:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5eb1976e799cea9b8f7463541b7ba033f35f078b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"duker33","id":3526796,"avatar_url":"https://avatars2.githubusercontent.com/u/3526796?v=3","gravatar_id":"","url":"https://api.github.com/users/duker33","html_url":"https://github.com/duker33","followers_url":"https://api.github.com/users/duker33/followers","following_url":"https://api.github.com/users/duker33/following{/other_user}","gists_url":"https://api.github.com/users/duker33/gists{/gist_id}","starred_url":"https://api.github.com/users/duker33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duker33/subscriptions","organizations_url":"https://api.github.com/users/duker33/orgs","repos_url":"https://api.github.com/users/duker33/repos","events_url":"https://api.github.com/users/duker33/events{/privacy}","received_events_url":"https://api.github.com/users/duker33/received_events","type":"User","site_admin":false},{"login":"shvedovskiy","id":5951118,"avatar_url":"https://avatars1.githubusercontent.com/u/5951118?v=3","gravatar_id":"","url":"https://api.github.com/users/shvedovskiy","html_url":"https://github.com/shvedovskiy","followers_url":"https://api.github.com/users/shvedovskiy/followers","following_url":"https://api.github.com/users/shvedovskiy/following{/other_user}","gists_url":"https://api.github.com/users/shvedovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/shvedovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shvedovskiy/subscriptions","organizations_url":"https://api.github.com/users/shvedovskiy/orgs","repos_url":"https://api.github.com/users/shvedovskiy/repos","events_url":"https://api.github.com/users/shvedovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/shvedovskiy/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/fidals/refarm-site/pulls/68/commits","review_comments_url":"https://api.github.com/repos/fidals/refarm-site/pulls/68/comments","review_comment_url":"https://api.github.com/repos/fidals/refarm-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fidals/refarm-site/issues/68/comments","statuses_url":"https://api.github.com/repos/fidals/refarm-site/statuses/2c0b39b4d0c7f22023402a629576950b9584ba56","head":{"label":"fidals:page-templates","ref":"page-templates","sha":"2c0b39b4d0c7f22023402a629576950b9584ba56","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars3.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":55603017,"name":"refarm-site","full_name":"fidals/refarm-site","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars3.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/refarm-site","description":"Django application with simple blog functions","fork":false,"url":"https://api.github.com/repos/fidals/refarm-site","forks_url":"https://api.github.com/repos/fidals/refarm-site/forks","keys_url":"https://api.github.com/repos/fidals/refarm-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/refarm-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/refarm-site/teams","hooks_url":"https://api.github.com/repos/fidals/refarm-site/hooks","issue_events_url":"https://api.github.com/repos/fidals/refarm-site/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/refarm-site/events","assignees_url":"https://api.github.com/repos/fidals/refarm-site/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/refarm-site/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/refarm-site/tags","blobs_url":"https://api.github.com/repos/fidals/refarm-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/refarm-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/refarm-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/refarm-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/refarm-site/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/refarm-site/languages","stargazers_url":"https://api.github.com/repos/fidals/refarm-site/stargazers","contributors_url":"https://api.github.com/repos/fidals/refarm-site/contributors","subscribers_url":"https://api.github.com/repos/fidals/refarm-site/subscribers","subscription_url":"https://api.github.com/repos/fidals/refarm-site/subscription","commits_url":"https://api.github.com/repos/fidals/refarm-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/refarm-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/refarm-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/refarm-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/refarm-site/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/refarm-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/refarm-site/merges","archive_url":"https://api.github.com/repos/fidals/refarm-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/refarm-site/downloads","issues_url":"https://api.github.com/repos/fidals/refarm-site/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/refarm-site/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/refarm-site/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/refarm-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/refarm-site/labels{/name}","releases_url":"https://api.github.com/repos/fidals/refarm-site/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/refarm-site/deployments","created_at":"2016-04-06T12:14:48Z","updated_at":"2017-05-05T12:01:54Z","pushed_at":"2017-05-10T08:18:35Z","git_url":"git://github.com/fidals/refarm-site.git","ssh_url":"git@github.com:fidals/refarm-site.git","clone_url":"https://github.com/fidals/refarm-site.git","svn_url":"https://github.com/fidals/refarm-site","homepage":"","size":566,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"fidals:master","ref":"master","sha":"17dff6404b73af31d219bf9c5653069da754b6c7","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars3.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":55603017,"name":"refarm-site","full_name":"fidals/refarm-site","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars3.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/refarm-site","description":"Django application with simple blog functions","fork":false,"url":"https://api.github.com/repos/fidals/refarm-site","forks_url":"https://api.github.com/repos/fidals/refarm-site/forks","keys_url":"https://api.github.com/repos/fidals/refarm-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/refarm-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/refarm-site/teams","hooks_url":"https://api.github.com/repos/fidals/refarm-site/hooks","issue_events_url":"https://api.github.com/repos/fidals/refarm-site/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/refarm-site/events","assignees_url":"https://api.github.com/repos/fidals/refarm-site/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/refarm-site/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/refarm-site/tags","blobs_url":"https://api.github.com/repos/fidals/refarm-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/refarm-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/refarm-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/refarm-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/refarm-site/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/refarm-site/languages","stargazers_url":"https://api.github.com/repos/fidals/refarm-site/stargazers","contributors_url":"https://api.github.com/repos/fidals/refarm-site/contributors","subscribers_url":"https://api.github.com/repos/fidals/refarm-site/subscribers","subscription_url":"https://api.github.com/repos/fidals/refarm-site/subscription","commits_url":"https://api.github.com/repos/fidals/refarm-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/refarm-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/refarm-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/refarm-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/refarm-site/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/refarm-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/refarm-site/merges","archive_url":"https://api.github.com/repos/fidals/refarm-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/refarm-site/downloads","issues_url":"https://api.github.com/repos/fidals/refarm-site/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/refarm-site/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/refarm-site/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/refarm-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/refarm-site/labels{/name}","releases_url":"https://api.github.com/repos/fidals/refarm-site/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/refarm-site/deployments","created_at":"2016-04-06T12:14:48Z","updated_at":"2017-05-05T12:01:54Z","pushed_at":"2017-05-10T08:18:35Z","git_url":"git://github.com/fidals/refarm-site.git","ssh_url":"git@github.com:fidals/refarm-site.git","clone_url":"https://github.com/fidals/refarm-site.git","svn_url":"https://github.com/fidals/refarm-site","homepage":"","size":566,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fidals/refarm-site/pulls/68"},"html":{"href":"https://github.com/fidals/refarm-site/pull/68"},"issue":{"href":"https://api.github.com/repos/fidals/refarm-site/issues/68"},"comments":{"href":"https://api.github.com/repos/fidals/refarm-site/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/fidals/refarm-site/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/fidals/refarm-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fidals/refarm-site/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/fidals/refarm-site/statuses/2c0b39b4d0c7f22023402a629576950b9584ba56"}}}}
{"actor":{"display_login":"artemiyds2"}}