{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/22411296","id":22411296,"diff_hunk":"@@ -71,8 +72,10 @@ class Motion(SlideMixin, AbsoluteUrlMixin, models.Model):\n     Many to many relation to mediafile objects.\n     \"\"\"\n \n-    # TODO: proposal\n-    # master = models.ForeignKey('self', null=True, blank=True)\n+    tags = models.ManyToManyField(Tag)\n+    \"\"\"\n+    Tags to categories motions.","path":"openslides/motion/models.py","position":16,"original_position":16,"commit_id":"8c856b58067004d270d7c15ed3a4abec317b05a3","original_commit_id":"8c856b58067004d270d7c15ed3a4abec317b05a3","user":{"login":"normanjaeckel","id":2073844,"avatar_url":"https://avatars.githubusercontent.com/u/2073844?v=3","gravatar_id":"","url":"https://api.github.com/users/normanjaeckel","html_url":"https://github.com/normanjaeckel","followers_url":"https://api.github.com/users/normanjaeckel/followers","following_url":"https://api.github.com/users/normanjaeckel/following{/other_user}","gists_url":"https://api.github.com/users/normanjaeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/normanjaeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanjaeckel/subscriptions","organizations_url":"https://api.github.com/users/normanjaeckel/orgs","repos_url":"https://api.github.com/users/normanjaeckel/repos","events_url":"https://api.github.com/users/normanjaeckel/events{/privacy}","received_events_url":"https://api.github.com/users/normanjaeckel/received_events","type":"User","site_admin":false},"body":"Typo: `categorize` (American) or `categorise` (British)\r\n","created_at":"2015-01-02T14:35:13Z","updated_at":"2015-01-02T14:35:13Z","html_url":"https://github.com/OpenSlides/OpenSlides/pull/1381#discussion_r22411296","pull_request_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381","_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/22411296"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/1381#discussion_r22411296"},"pull_request":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381","id":26622263,"html_url":"https://github.com/OpenSlides/OpenSlides/pull/1381","diff_url":"https://github.com/OpenSlides/OpenSlides/pull/1381.diff","patch_url":"https://github.com/OpenSlides/OpenSlides/pull/1381.patch","issue_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1381","number":1381,"state":"open","locked":false,"title":"Tags for motions","user":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"body":"The backend is done. You can alter the tags in the general config tab.\r\n\r\nThe tags are created in the core app, so we can use the same tabs for assignments or other apps later.\r\n\r\n@emanuelschuetze I put the tags as list inside the MotionDetailView as example. Can you make it pretty?","created_at":"2014-12-28T09:23:33Z","updated_at":"2015-01-02T14:35:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bc81fb165e7b5c115aec3ce0623233dc58cf595","assignee":{"login":"normanjaeckel","id":2073844,"avatar_url":"https://avatars.githubusercontent.com/u/2073844?v=3","gravatar_id":"","url":"https://api.github.com/users/normanjaeckel","html_url":"https://github.com/normanjaeckel","followers_url":"https://api.github.com/users/normanjaeckel/followers","following_url":"https://api.github.com/users/normanjaeckel/following{/other_user}","gists_url":"https://api.github.com/users/normanjaeckel/gists{/gist_id}","starred_url":"https://api.github.com/users/normanjaeckel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanjaeckel/subscriptions","organizations_url":"https://api.github.com/users/normanjaeckel/orgs","repos_url":"https://api.github.com/users/normanjaeckel/repos","events_url":"https://api.github.com/users/normanjaeckel/events{/privacy}","received_events_url":"https://api.github.com/users/normanjaeckel/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/19","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/19/labels","id":916577,"number":19,"title":"1.7","description":"","creator":{"login":"emanuelschuetze","id":2075427,"avatar_url":"https://avatars.githubusercontent.com/u/2075427?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelschuetze","html_url":"https://github.com/emanuelschuetze","followers_url":"https://api.github.com/users/emanuelschuetze/followers","following_url":"https://api.github.com/users/emanuelschuetze/following{/other_user}","gists_url":"https://api.github.com/users/emanuelschuetze/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelschuetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelschuetze/subscriptions","organizations_url":"https://api.github.com/users/emanuelschuetze/orgs","repos_url":"https://api.github.com/users/emanuelschuetze/repos","events_url":"https://api.github.com/users/emanuelschuetze/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelschuetze/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2014-12-29T10:27:42Z","updated_at":"2014-12-29T10:31:33Z","due_on":"2015-01-14T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381/commits","review_comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381/comments","review_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1381/comments","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/8c856b58067004d270d7c15ed3a4abec317b05a3","head":{"label":"ostcar:motion-tags","ref":"motion-tags","sha":"8c856b58067004d270d7c15ed3a4abec317b05a3","user":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"repo":{"id":5257807,"name":"OpenSlides","full_name":"ostcar/OpenSlides","owner":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ostcar/OpenSlides","description":"","fork":true,"url":"https://api.github.com/repos/ostcar/OpenSlides","forks_url":"https://api.github.com/repos/ostcar/OpenSlides/forks","keys_url":"https://api.github.com/repos/ostcar/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ostcar/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ostcar/OpenSlides/teams","hooks_url":"https://api.github.com/repos/ostcar/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/ostcar/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/ostcar/OpenSlides/events","assignees_url":"https://api.github.com/repos/ostcar/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/ostcar/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/ostcar/OpenSlides/tags","blobs_url":"https://api.github.com/repos/ostcar/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ostcar/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ostcar/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/ostcar/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ostcar/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/ostcar/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/ostcar/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/ostcar/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/ostcar/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/ostcar/OpenSlides/subscription","commits_url":"https://api.github.com/repos/ostcar/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/ostcar/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/ostcar/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/ostcar/OpenSlides/issues/comments/{number}","contents_url":"https://api.github.com/repos/ostcar/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/ostcar/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ostcar/OpenSlides/merges","archive_url":"https://api.github.com/repos/ostcar/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ostcar/OpenSlides/downloads","issues_url":"https://api.github.com/repos/ostcar/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/ostcar/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/ostcar/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/ostcar/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ostcar/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/ostcar/OpenSlides/releases{/id}","created_at":"2012-08-01T10:15:17Z","updated_at":"2014-08-15T15:06:46Z","pushed_at":"2015-01-02T13:16:13Z","git_url":"git://github.com/ostcar/OpenSlides.git","ssh_url":"git@github.com:ostcar/OpenSlides.git","clone_url":"https://github.com/ostcar/OpenSlides.git","svn_url":"https://github.com/ostcar/OpenSlides","homepage":null,"size":35883,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenSlides:stable/1.6.x","ref":"stable/1.6.x","sha":"b9efa7fff134976d0d0486b8d6c0b6fab0135961","user":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"repo":{"id":5250779,"name":"OpenSlides","full_name":"OpenSlides/OpenSlides","owner":{"login":"OpenSlides","id":2055730,"avatar_url":"https://avatars.githubusercontent.com/u/2055730?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSlides","html_url":"https://github.com/OpenSlides","followers_url":"https://api.github.com/users/OpenSlides/followers","following_url":"https://api.github.com/users/OpenSlides/following{/other_user}","gists_url":"https://api.github.com/users/OpenSlides/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSlides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSlides/subscriptions","organizations_url":"https://api.github.com/users/OpenSlides/orgs","repos_url":"https://api.github.com/users/OpenSlides/repos","events_url":"https://api.github.com/users/OpenSlides/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSlides/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSlides/OpenSlides","description":"Presentation and assembly system","fork":false,"url":"https://api.github.com/repos/OpenSlides/OpenSlides","forks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/forks","keys_url":"https://api.github.com/repos/OpenSlides/OpenSlides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSlides/OpenSlides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSlides/OpenSlides/teams","hooks_url":"https://api.github.com/repos/OpenSlides/OpenSlides/hooks","issue_events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/events","assignees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSlides/OpenSlides/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/tags","blobs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSlides/OpenSlides/languages","stargazers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/stargazers","contributors_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contributors","subscribers_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscribers","subscription_url":"https://api.github.com/repos/OpenSlides/OpenSlides/subscription","commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSlides/OpenSlides/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/comments/{number}","contents_url":"https://api.github.com/repos/OpenSlides/OpenSlides/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSlides/OpenSlides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSlides/OpenSlides/merges","archive_url":"https://api.github.com/repos/OpenSlides/OpenSlides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSlides/OpenSlides/downloads","issues_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSlides/OpenSlides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/labels{/name}","releases_url":"https://api.github.com/repos/OpenSlides/OpenSlides/releases{/id}","created_at":"2012-07-31T20:04:39Z","updated_at":"2014-12-10T17:02:49Z","pushed_at":"2014-12-24T23:07:25Z","git_url":"git://github.com/OpenSlides/OpenSlides.git","ssh_url":"git@github.com:OpenSlides/OpenSlides.git","clone_url":"https://github.com/OpenSlides/OpenSlides.git","svn_url":"https://github.com/OpenSlides/OpenSlides","homepage":"http://openslides.org","size":36911,"stargazers_count":53,"watchers_count":53,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":99,"forks":25,"open_issues":99,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381"},"html":{"href":"https://github.com/OpenSlides/OpenSlides/pull/1381"},"issue":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1381"},"comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/1381/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/pulls/1381/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSlides/OpenSlides/statuses/8c856b58067004d270d7c15ed3a4abec317b05a3"}}}}