{"action":"created","comment":{"url":"https://api.github.com/repos/openfun/fun-apps/pulls/comments/35096982","id":35096982,"diff_hunk":"@@ -9,6 +10,12 @@\n # That's why we import handlers here.\n from cms.urls import handler404, handler500 # pylint: disable=unused-import\n \n+def formatted(pattern):\n+    return pattern.format(\n+        course=settings.COURSE_KEY_PATTERN,\n+        video='(?P<video_id>[a-z0-9]+)',\n+        subtitle='(?P<subtitle_id>[a-z0-9.]+)',\n+    )\n ","path":"fun/cms/urls.py","position":17,"original_position":17,"commit_id":"a54bc672aefcaee68bca940c230b53f94900954f","original_commit_id":"a54bc672aefcaee68bca940c230b53f94900954f","user":{"login":"jpaille","id":2971857,"avatar_url":"https://avatars.githubusercontent.com/u/2971857?v=3","gravatar_id":"","url":"https://api.github.com/users/jpaille","html_url":"https://github.com/jpaille","followers_url":"https://api.github.com/users/jpaille/followers","following_url":"https://api.github.com/users/jpaille/following{/other_user}","gists_url":"https://api.github.com/users/jpaille/gists{/gist_id}","starred_url":"https://api.github.com/users/jpaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpaille/subscriptions","organizations_url":"https://api.github.com/users/jpaille/orgs","repos_url":"https://api.github.com/users/jpaille/repos","events_url":"https://api.github.com/users/jpaille/events{/privacy}","received_events_url":"https://api.github.com/users/jpaille/received_events","type":"User","site_admin":false},"body":"Cette fonction `formated `  formate des urls pour l’appli videoupload, le nom est un peu trop générique","created_at":"2015-07-21T12:41:14Z","updated_at":"2015-07-21T12:41:14Z","html_url":"https://github.com/openfun/fun-apps/pull/161#discussion_r35096982","pull_request_url":"https://api.github.com/repos/openfun/fun-apps/pulls/161","_links":{"self":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/comments/35096982"},"html":{"href":"https://github.com/openfun/fun-apps/pull/161#discussion_r35096982"},"pull_request":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/161"}}},"pull_request":{"url":"https://api.github.com/repos/openfun/fun-apps/pulls/161","id":40206711,"html_url":"https://github.com/openfun/fun-apps/pull/161","diff_url":"https://github.com/openfun/fun-apps/pull/161.diff","patch_url":"https://github.com/openfun/fun-apps/pull/161.patch","issue_url":"https://api.github.com/repos/openfun/fun-apps/issues/161","number":161,"state":"open","locked":false,"title":"[wip][Model changes] Regisb/video upload dashboard","user":{"login":"regisb","id":44319,"avatar_url":"https://avatars.githubusercontent.com/u/44319?v=3","gravatar_id":"","url":"https://api.github.com/users/regisb","html_url":"https://github.com/regisb","followers_url":"https://api.github.com/users/regisb/followers","following_url":"https://api.github.com/users/regisb/following{/other_user}","gists_url":"https://api.github.com/users/regisb/gists{/gist_id}","starred_url":"https://api.github.com/users/regisb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regisb/subscriptions","organizations_url":"https://api.github.com/users/regisb/orgs","repos_url":"https://api.github.com/users/regisb/repos","events_url":"https://api.github.com/users/regisb/events{/privacy}","received_events_url":"https://api.github.com/users/regisb/received_events","type":"User","site_admin":false},"body":"Un nouveau modèle est ajouté dans fun/videoproviders/models.py\r\nCette PR n'est pas encore prête à être mergée mais je prends les commentaires sur les changements de schéma de base de données.\r\n\r\nVoilà une preview de ce à quoi ça va ressembler le frontend d'upload :\r\n\r\n![video uploads v1](https://cloud.githubusercontent.com/assets/44319/8743215/17d5092a-2c6d-11e5-9f0c-4d9d9b85c3d9.png)\r\n\r\nJe suis preneur de toute idée pour rendre le tableau plus élégant.","created_at":"2015-07-17T07:34:56Z","updated_at":"2015-07-21T12:41:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9e29ab0da26bff723754bc56d88508761d959b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openfun/fun-apps/pulls/161/commits","review_comments_url":"https://api.github.com/repos/openfun/fun-apps/pulls/161/comments","review_comment_url":"https://api.github.com/repos/openfun/fun-apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfun/fun-apps/issues/161/comments","statuses_url":"https://api.github.com/repos/openfun/fun-apps/statuses/a54bc672aefcaee68bca940c230b53f94900954f","head":{"label":"openfun:regisb/video_upload_dashboard","ref":"regisb/video_upload_dashboard","sha":"a54bc672aefcaee68bca940c230b53f94900954f","user":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"repo":{"id":20556967,"name":"fun-apps","full_name":"openfun/fun-apps","owner":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfun/fun-apps","description":"","fork":false,"url":"https://api.github.com/repos/openfun/fun-apps","forks_url":"https://api.github.com/repos/openfun/fun-apps/forks","keys_url":"https://api.github.com/repos/openfun/fun-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfun/fun-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfun/fun-apps/teams","hooks_url":"https://api.github.com/repos/openfun/fun-apps/hooks","issue_events_url":"https://api.github.com/repos/openfun/fun-apps/issues/events{/number}","events_url":"https://api.github.com/repos/openfun/fun-apps/events","assignees_url":"https://api.github.com/repos/openfun/fun-apps/assignees{/user}","branches_url":"https://api.github.com/repos/openfun/fun-apps/branches{/branch}","tags_url":"https://api.github.com/repos/openfun/fun-apps/tags","blobs_url":"https://api.github.com/repos/openfun/fun-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfun/fun-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfun/fun-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfun/fun-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfun/fun-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/openfun/fun-apps/languages","stargazers_url":"https://api.github.com/repos/openfun/fun-apps/stargazers","contributors_url":"https://api.github.com/repos/openfun/fun-apps/contributors","subscribers_url":"https://api.github.com/repos/openfun/fun-apps/subscribers","subscription_url":"https://api.github.com/repos/openfun/fun-apps/subscription","commits_url":"https://api.github.com/repos/openfun/fun-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfun/fun-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfun/fun-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfun/fun-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfun/fun-apps/contents/{+path}","compare_url":"https://api.github.com/repos/openfun/fun-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfun/fun-apps/merges","archive_url":"https://api.github.com/repos/openfun/fun-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfun/fun-apps/downloads","issues_url":"https://api.github.com/repos/openfun/fun-apps/issues{/number}","pulls_url":"https://api.github.com/repos/openfun/fun-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/openfun/fun-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/openfun/fun-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfun/fun-apps/labels{/name}","releases_url":"https://api.github.com/repos/openfun/fun-apps/releases{/id}","created_at":"2014-06-06T08:42:58Z","updated_at":"2015-05-08T08:13:46Z","pushed_at":"2015-07-21T12:35:51Z","git_url":"git://github.com/openfun/fun-apps.git","ssh_url":"git@github.com:openfun/fun-apps.git","clone_url":"https://github.com/openfun/fun-apps.git","svn_url":"https://github.com/openfun/fun-apps","homepage":"","size":14196,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":1,"default_branch":"dev"}},"base":{"label":"openfun:dev","ref":"dev","sha":"576ccf5dfdeed7c7dafd9eb6270cbb4b300d8476","user":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"repo":{"id":20556967,"name":"fun-apps","full_name":"openfun/fun-apps","owner":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfun/fun-apps","description":"","fork":false,"url":"https://api.github.com/repos/openfun/fun-apps","forks_url":"https://api.github.com/repos/openfun/fun-apps/forks","keys_url":"https://api.github.com/repos/openfun/fun-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfun/fun-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfun/fun-apps/teams","hooks_url":"https://api.github.com/repos/openfun/fun-apps/hooks","issue_events_url":"https://api.github.com/repos/openfun/fun-apps/issues/events{/number}","events_url":"https://api.github.com/repos/openfun/fun-apps/events","assignees_url":"https://api.github.com/repos/openfun/fun-apps/assignees{/user}","branches_url":"https://api.github.com/repos/openfun/fun-apps/branches{/branch}","tags_url":"https://api.github.com/repos/openfun/fun-apps/tags","blobs_url":"https://api.github.com/repos/openfun/fun-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfun/fun-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfun/fun-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfun/fun-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfun/fun-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/openfun/fun-apps/languages","stargazers_url":"https://api.github.com/repos/openfun/fun-apps/stargazers","contributors_url":"https://api.github.com/repos/openfun/fun-apps/contributors","subscribers_url":"https://api.github.com/repos/openfun/fun-apps/subscribers","subscription_url":"https://api.github.com/repos/openfun/fun-apps/subscription","commits_url":"https://api.github.com/repos/openfun/fun-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfun/fun-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfun/fun-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfun/fun-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfun/fun-apps/contents/{+path}","compare_url":"https://api.github.com/repos/openfun/fun-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfun/fun-apps/merges","archive_url":"https://api.github.com/repos/openfun/fun-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfun/fun-apps/downloads","issues_url":"https://api.github.com/repos/openfun/fun-apps/issues{/number}","pulls_url":"https://api.github.com/repos/openfun/fun-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/openfun/fun-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/openfun/fun-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfun/fun-apps/labels{/name}","releases_url":"https://api.github.com/repos/openfun/fun-apps/releases{/id}","created_at":"2014-06-06T08:42:58Z","updated_at":"2015-05-08T08:13:46Z","pushed_at":"2015-07-21T12:35:51Z","git_url":"git://github.com/openfun/fun-apps.git","ssh_url":"git@github.com:openfun/fun-apps.git","clone_url":"https://github.com/openfun/fun-apps.git","svn_url":"https://github.com/openfun/fun-apps","homepage":"","size":14196,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/161"},"html":{"href":"https://github.com/openfun/fun-apps/pull/161"},"issue":{"href":"https://api.github.com/repos/openfun/fun-apps/issues/161"},"comments":{"href":"https://api.github.com/repos/openfun/fun-apps/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/openfun/fun-apps/statuses/a54bc672aefcaee68bca940c230b53f94900954f"}}}}