{"action":"created","comment":{"url":"https://api.github.com/repos/inducer/relate/pulls/comments/158969337","pull_request_review_id":85848707,"id":158969337,"diff_hunk":"@@ -183,11 +185,18 @@ class Meta:\n             \"enrollment_required_email_suffix\",\n             \"from_email\",\n             \"notify_email\",\n+            \"force_lang\",\n             )\n         widgets = {\n                 \"start_date\": DateTimePicker(options={\"format\": \"YYYY-MM-DD\"}),\n                 \"end_date\": DateTimePicker(options={\"format\": \"YYYY-MM-DD\"}),\n                 }\n+        from django.conf import settings\n+        if getattr(settings, \"RELATE_ENABLE_COURSE_SPECIFIC_LANG\", False):","path":"course/versioning.py","position":22,"original_position":22,"commit_id":"5f59958b0fefa1a4e650de6ad9e5d34432b8c710","original_commit_id":"5f59958b0fefa1a4e650de6ad9e5d34432b8c710","user":{"login":"inducer","id":352067,"avatar_url":"https://avatars3.githubusercontent.com/u/352067?v=4","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"body":"Do we need `RELATE_ENABLE_COURSE_SPECIFIC_LANG`? It just adds code complexity, and instructors that don't want it can just leave it alone.","created_at":"2017-12-28T16:43:49Z","updated_at":"2017-12-28T16:45:00Z","html_url":"https://github.com/inducer/relate/pull/392#discussion_r158969337","pull_request_url":"https://api.github.com/repos/inducer/relate/pulls/392","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/inducer/relate/pulls/comments/158969337"},"html":{"href":"https://github.com/inducer/relate/pull/392#discussion_r158969337"},"pull_request":{"href":"https://api.github.com/repos/inducer/relate/pulls/392"}}},"pull_request":{"url":"https://api.github.com/repos/inducer/relate/pulls/392","id":159977519,"html_url":"https://github.com/inducer/relate/pull/392","diff_url":"https://github.com/inducer/relate/pull/392.diff","patch_url":"https://github.com/inducer/relate/pull/392.patch","issue_url":"https://api.github.com/repos/inducer/relate/issues/392","number":392,"state":"open","locked":false,"title":"Added course specific language","user":{"login":"dzhuang","id":7379654,"avatar_url":"https://avatars0.githubusercontent.com/u/7379654?v=4","gravatar_id":"","url":"https://api.github.com/users/dzhuang","html_url":"https://github.com/dzhuang","followers_url":"https://api.github.com/users/dzhuang/followers","following_url":"https://api.github.com/users/dzhuang/following{/other_user}","gists_url":"https://api.github.com/users/dzhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhuang/subscriptions","organizations_url":"https://api.github.com/users/dzhuang/orgs","repos_url":"https://api.github.com/users/dzhuang/repos","events_url":"https://api.github.com/users/dzhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dzhuang/received_events","type":"User","site_admin":false},"body":"Allow course specific language #383 ","created_at":"2017-12-23T19:20:14Z","updated_at":"2017-12-28T16:45:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d2e6c6058ad7b1b4e7a64128e0a66c826d34771","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/inducer/relate/pulls/392/commits","review_comments_url":"https://api.github.com/repos/inducer/relate/pulls/392/comments","review_comment_url":"https://api.github.com/repos/inducer/relate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inducer/relate/issues/392/comments","statuses_url":"https://api.github.com/repos/inducer/relate/statuses/5f59958b0fefa1a4e650de6ad9e5d34432b8c710","head":{"label":"dzhuang:course_specific_language","ref":"course_specific_language","sha":"5f59958b0fefa1a4e650de6ad9e5d34432b8c710","user":{"login":"dzhuang","id":7379654,"avatar_url":"https://avatars0.githubusercontent.com/u/7379654?v=4","gravatar_id":"","url":"https://api.github.com/users/dzhuang","html_url":"https://github.com/dzhuang","followers_url":"https://api.github.com/users/dzhuang/followers","following_url":"https://api.github.com/users/dzhuang/following{/other_user}","gists_url":"https://api.github.com/users/dzhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhuang/subscriptions","organizations_url":"https://api.github.com/users/dzhuang/orgs","repos_url":"https://api.github.com/users/dzhuang/repos","events_url":"https://api.github.com/users/dzhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dzhuang/received_events","type":"User","site_admin":false},"repo":{"id":39560547,"name":"relate","full_name":"dzhuang/relate","owner":{"login":"dzhuang","id":7379654,"avatar_url":"https://avatars0.githubusercontent.com/u/7379654?v=4","gravatar_id":"","url":"https://api.github.com/users/dzhuang","html_url":"https://github.com/dzhuang","followers_url":"https://api.github.com/users/dzhuang/followers","following_url":"https://api.github.com/users/dzhuang/following{/other_user}","gists_url":"https://api.github.com/users/dzhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhuang/subscriptions","organizations_url":"https://api.github.com/users/dzhuang/orgs","repos_url":"https://api.github.com/users/dzhuang/repos","events_url":"https://api.github.com/users/dzhuang/events{/privacy}","received_events_url":"https://api.github.com/users/dzhuang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dzhuang/relate","description":"RELATE is an Environment for Learning And TEaching","fork":true,"url":"https://api.github.com/repos/dzhuang/relate","forks_url":"https://api.github.com/repos/dzhuang/relate/forks","keys_url":"https://api.github.com/repos/dzhuang/relate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dzhuang/relate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dzhuang/relate/teams","hooks_url":"https://api.github.com/repos/dzhuang/relate/hooks","issue_events_url":"https://api.github.com/repos/dzhuang/relate/issues/events{/number}","events_url":"https://api.github.com/repos/dzhuang/relate/events","assignees_url":"https://api.github.com/repos/dzhuang/relate/assignees{/user}","branches_url":"https://api.github.com/repos/dzhuang/relate/branches{/branch}","tags_url":"https://api.github.com/repos/dzhuang/relate/tags","blobs_url":"https://api.github.com/repos/dzhuang/relate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dzhuang/relate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dzhuang/relate/git/refs{/sha}","trees_url":"https://api.github.com/repos/dzhuang/relate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dzhuang/relate/statuses/{sha}","languages_url":"https://api.github.com/repos/dzhuang/relate/languages","stargazers_url":"https://api.github.com/repos/dzhuang/relate/stargazers","contributors_url":"https://api.github.com/repos/dzhuang/relate/contributors","subscribers_url":"https://api.github.com/repos/dzhuang/relate/subscribers","subscription_url":"https://api.github.com/repos/dzhuang/relate/subscription","commits_url":"https://api.github.com/repos/dzhuang/relate/commits{/sha}","git_commits_url":"https://api.github.com/repos/dzhuang/relate/git/commits{/sha}","comments_url":"https://api.github.com/repos/dzhuang/relate/comments{/number}","issue_comment_url":"https://api.github.com/repos/dzhuang/relate/issues/comments{/number}","contents_url":"https://api.github.com/repos/dzhuang/relate/contents/{+path}","compare_url":"https://api.github.com/repos/dzhuang/relate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dzhuang/relate/merges","archive_url":"https://api.github.com/repos/dzhuang/relate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dzhuang/relate/downloads","issues_url":"https://api.github.com/repos/dzhuang/relate/issues{/number}","pulls_url":"https://api.github.com/repos/dzhuang/relate/pulls{/number}","milestones_url":"https://api.github.com/repos/dzhuang/relate/milestones{/number}","notifications_url":"https://api.github.com/repos/dzhuang/relate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dzhuang/relate/labels{/name}","releases_url":"https://api.github.com/repos/dzhuang/relate/releases{/id}","deployments_url":"https://api.github.com/repos/dzhuang/relate/deployments","created_at":"2015-07-23T10:16:11Z","updated_at":"2016-01-11T12:41:53Z","pushed_at":"2017-12-28T10:23:48Z","git_url":"git://github.com/dzhuang/relate.git","ssh_url":"git@github.com:dzhuang/relate.git","clone_url":"https://github.com/dzhuang/relate.git","svn_url":"https://github.com/dzhuang/relate","homepage":"http://documen.tician.de/relate","size":6101,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inducer:master","ref":"master","sha":"a605ef342c196d70133f3d1860d86a1851df0ee8","user":{"login":"inducer","id":352067,"avatar_url":"https://avatars3.githubusercontent.com/u/352067?v=4","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"repo":{"id":20311659,"name":"relate","full_name":"inducer/relate","owner":{"login":"inducer","id":352067,"avatar_url":"https://avatars3.githubusercontent.com/u/352067?v=4","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inducer/relate","description":"RELATE is an Environment for Learning And TEaching","fork":false,"url":"https://api.github.com/repos/inducer/relate","forks_url":"https://api.github.com/repos/inducer/relate/forks","keys_url":"https://api.github.com/repos/inducer/relate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inducer/relate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inducer/relate/teams","hooks_url":"https://api.github.com/repos/inducer/relate/hooks","issue_events_url":"https://api.github.com/repos/inducer/relate/issues/events{/number}","events_url":"https://api.github.com/repos/inducer/relate/events","assignees_url":"https://api.github.com/repos/inducer/relate/assignees{/user}","branches_url":"https://api.github.com/repos/inducer/relate/branches{/branch}","tags_url":"https://api.github.com/repos/inducer/relate/tags","blobs_url":"https://api.github.com/repos/inducer/relate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inducer/relate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inducer/relate/git/refs{/sha}","trees_url":"https://api.github.com/repos/inducer/relate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inducer/relate/statuses/{sha}","languages_url":"https://api.github.com/repos/inducer/relate/languages","stargazers_url":"https://api.github.com/repos/inducer/relate/stargazers","contributors_url":"https://api.github.com/repos/inducer/relate/contributors","subscribers_url":"https://api.github.com/repos/inducer/relate/subscribers","subscription_url":"https://api.github.com/repos/inducer/relate/subscription","commits_url":"https://api.github.com/repos/inducer/relate/commits{/sha}","git_commits_url":"https://api.github.com/repos/inducer/relate/git/commits{/sha}","comments_url":"https://api.github.com/repos/inducer/relate/comments{/number}","issue_comment_url":"https://api.github.com/repos/inducer/relate/issues/comments{/number}","contents_url":"https://api.github.com/repos/inducer/relate/contents/{+path}","compare_url":"https://api.github.com/repos/inducer/relate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inducer/relate/merges","archive_url":"https://api.github.com/repos/inducer/relate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inducer/relate/downloads","issues_url":"https://api.github.com/repos/inducer/relate/issues{/number}","pulls_url":"https://api.github.com/repos/inducer/relate/pulls{/number}","milestones_url":"https://api.github.com/repos/inducer/relate/milestones{/number}","notifications_url":"https://api.github.com/repos/inducer/relate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inducer/relate/labels{/name}","releases_url":"https://api.github.com/repos/inducer/relate/releases{/id}","deployments_url":"https://api.github.com/repos/inducer/relate/deployments","created_at":"2014-05-29T23:39:42Z","updated_at":"2017-12-28T06:17:10Z","pushed_at":"2017-12-27T19:42:09Z","git_url":"git://github.com/inducer/relate.git","ssh_url":"git@github.com:inducer/relate.git","clone_url":"https://github.com/inducer/relate.git","svn_url":"https://github.com/inducer/relate","homepage":"http://documen.tician.de/relate","size":5908,"stargazers_count":130,"watchers_count":130,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":106,"license":null,"forks":29,"open_issues":106,"watchers":130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inducer/relate/pulls/392"},"html":{"href":"https://github.com/inducer/relate/pull/392"},"issue":{"href":"https://api.github.com/repos/inducer/relate/issues/392"},"comments":{"href":"https://api.github.com/repos/inducer/relate/issues/392/comments"},"review_comments":{"href":"https://api.github.com/repos/inducer/relate/pulls/392/comments"},"review_comment":{"href":"https://api.github.com/repos/inducer/relate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inducer/relate/pulls/392/commits"},"statuses":{"href":"https://api.github.com/repos/inducer/relate/statuses/5f59958b0fefa1a4e650de6ad9e5d34432b8c710"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"inducer"}}