{"action":"created","comment":{"url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/comments/241714334","pull_request_review_id":185056459,"id":241714334,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTcxNDMzNA==","diff_hunk":"@@ -0,0 +1,45 @@\n+from django.conf import settings\n+from django.contrib.contenttypes.fields import GenericForeignKey\n+from django.contrib.contenttypes.models import ContentType\n+from django.contrib.sites.models import Site\n+from django.db import models\n+from django.utils.translation import ugettext_lazy as _\n+from treebeard.mp_tree import MP_Node\n+\n+\n+class Menu(models.Model):\n+    \"\"\"\n+    MenuContent Grouper\n+    \"\"\"\n+    pass\n+\n+\n+class MenuContent(models.Model):\n+    title = models.CharField(verbose_name=_('title'), max_length=100)\n+    site = models.ForeignKey(","path":"djangocms_navigation/models.py","position":19,"original_position":19,"commit_id":"f30ebd74cf683a010e18fe9e8858fea955d23b51","original_commit_id":"f30ebd74cf683a010e18fe9e8858fea955d23b51","user":{"login":"monikasulik","id":3541250,"node_id":"MDQ6VXNlcjM1NDEyNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3541250?v=4","gravatar_id":"","url":"https://api.github.com/users/monikasulik","html_url":"https://github.com/monikasulik","followers_url":"https://api.github.com/users/monikasulik/followers","following_url":"https://api.github.com/users/monikasulik/following{/other_user}","gists_url":"https://api.github.com/users/monikasulik/gists{/gist_id}","starred_url":"https://api.github.com/users/monikasulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monikasulik/subscriptions","organizations_url":"https://api.github.com/users/monikasulik/orgs","repos_url":"https://api.github.com/users/monikasulik/repos","events_url":"https://api.github.com/users/monikasulik/events{/privacy}","received_events_url":"https://api.github.com/users/monikasulik/received_events","type":"User","site_admin":false},"body":"That's assuming we shouldn't be able to change the site after adding a menu (or if we do change it then the change should not be versioned). It would make sense to me that menus shouldn't suddenly change sites, but I'm not sure what the requirement is tbh.\r\nAnd my understanding is the same as Riz's - that we can have multiple menus on one site. So for example there could be a top nav menu at the top which maybe all pages would have, but then a sidebar menu which changes depending on the section of the site we're in.","created_at":"2018-12-14T10:48:59Z","updated_at":"2018-12-14T10:48:59Z","html_url":"https://github.com/FidelityInternational/djangocms-navigation/pull/2#discussion_r241714334","pull_request_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/comments/241714334"},"html":{"href":"https://github.com/FidelityInternational/djangocms-navigation/pull/2#discussion_r241714334"},"pull_request":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2"}},"in_reply_to_id":241704384},"pull_request":{"url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2","id":238357388,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MzU3Mzg4","html_url":"https://github.com/FidelityInternational/djangocms-navigation/pull/2","diff_url":"https://github.com/FidelityInternational/djangocms-navigation/pull/2.diff","patch_url":"https://github.com/FidelityInternational/djangocms-navigation/pull/2.patch","issue_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/2","number":2,"state":"open","locked":false,"title":"Data structure for the app","user":{"login":"webbyfox","id":717254,"node_id":"MDQ6VXNlcjcxNzI1NA==","avatar_url":"https://avatars2.githubusercontent.com/u/717254?v=4","gravatar_id":"","url":"https://api.github.com/users/webbyfox","html_url":"https://github.com/webbyfox","followers_url":"https://api.github.com/users/webbyfox/followers","following_url":"https://api.github.com/users/webbyfox/following{/other_user}","gists_url":"https://api.github.com/users/webbyfox/gists{/gist_id}","starred_url":"https://api.github.com/users/webbyfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webbyfox/subscriptions","organizations_url":"https://api.github.com/users/webbyfox/orgs","repos_url":"https://api.github.com/users/webbyfox/repos","events_url":"https://api.github.com/users/webbyfox/events{/privacy}","received_events_url":"https://api.github.com/users/webbyfox/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-13T11:35:41Z","updated_at":"2018-12-14T10:48:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ad2351766b2ed63012a2187f99f519b75b822e5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2/commits","review_comments_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2/comments","review_comment_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/2/comments","statuses_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/statuses/f30ebd74cf683a010e18fe9e8858fea955d23b51","head":{"label":"FidelityInternational:feature/FIL-802-data-structure-for-navigation-app","ref":"feature/FIL-802-data-structure-for-navigation-app","sha":"f30ebd74cf683a010e18fe9e8858fea955d23b51","user":{"login":"FidelityInternational","id":17474425,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDc0NDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17474425?v=4","gravatar_id":"","url":"https://api.github.com/users/FidelityInternational","html_url":"https://github.com/FidelityInternational","followers_url":"https://api.github.com/users/FidelityInternational/followers","following_url":"https://api.github.com/users/FidelityInternational/following{/other_user}","gists_url":"https://api.github.com/users/FidelityInternational/gists{/gist_id}","starred_url":"https://api.github.com/users/FidelityInternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FidelityInternational/subscriptions","organizations_url":"https://api.github.com/users/FidelityInternational/orgs","repos_url":"https://api.github.com/users/FidelityInternational/repos","events_url":"https://api.github.com/users/FidelityInternational/events{/privacy}","received_events_url":"https://api.github.com/users/FidelityInternational/received_events","type":"Organization","site_admin":false},"repo":{"id":161476595,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE0NzY1OTU=","name":"djangocms-navigation","full_name":"FidelityInternational/djangocms-navigation","private":false,"owner":{"login":"FidelityInternational","id":17474425,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDc0NDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17474425?v=4","gravatar_id":"","url":"https://api.github.com/users/FidelityInternational","html_url":"https://github.com/FidelityInternational","followers_url":"https://api.github.com/users/FidelityInternational/followers","following_url":"https://api.github.com/users/FidelityInternational/following{/other_user}","gists_url":"https://api.github.com/users/FidelityInternational/gists{/gist_id}","starred_url":"https://api.github.com/users/FidelityInternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FidelityInternational/subscriptions","organizations_url":"https://api.github.com/users/FidelityInternational/orgs","repos_url":"https://api.github.com/users/FidelityInternational/repos","events_url":"https://api.github.com/users/FidelityInternational/events{/privacy}","received_events_url":"https://api.github.com/users/FidelityInternational/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FidelityInternational/djangocms-navigation","description":null,"fork":false,"url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation","forks_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/forks","keys_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/teams","hooks_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/hooks","issue_events_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/events{/number}","events_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/events","assignees_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/assignees{/user}","branches_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/branches{/branch}","tags_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/tags","blobs_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/refs{/sha}","trees_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/statuses/{sha}","languages_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/languages","stargazers_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/stargazers","contributors_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/contributors","subscribers_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/subscribers","subscription_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/subscription","commits_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/commits{/sha}","git_commits_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/commits{/sha}","comments_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/comments{/number}","issue_comment_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/comments{/number}","contents_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/contents/{+path}","compare_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/merges","archive_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/downloads","issues_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues{/number}","pulls_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls{/number}","milestones_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/milestones{/number}","notifications_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/labels{/name}","releases_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/releases{/id}","deployments_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/deployments","created_at":"2018-12-12T11:10:55Z","updated_at":"2018-12-12T14:13:48Z","pushed_at":"2018-12-14T01:30:32Z","git_url":"git://github.com/FidelityInternational/djangocms-navigation.git","ssh_url":"git@github.com:FidelityInternational/djangocms-navigation.git","clone_url":"https://github.com/FidelityInternational/djangocms-navigation.git","svn_url":"https://github.com/FidelityInternational/djangocms-navigation","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"FidelityInternational:master","ref":"master","sha":"d63b979a351b57cabe7b7a1a57c7943212e663d7","user":{"login":"FidelityInternational","id":17474425,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDc0NDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17474425?v=4","gravatar_id":"","url":"https://api.github.com/users/FidelityInternational","html_url":"https://github.com/FidelityInternational","followers_url":"https://api.github.com/users/FidelityInternational/followers","following_url":"https://api.github.com/users/FidelityInternational/following{/other_user}","gists_url":"https://api.github.com/users/FidelityInternational/gists{/gist_id}","starred_url":"https://api.github.com/users/FidelityInternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FidelityInternational/subscriptions","organizations_url":"https://api.github.com/users/FidelityInternational/orgs","repos_url":"https://api.github.com/users/FidelityInternational/repos","events_url":"https://api.github.com/users/FidelityInternational/events{/privacy}","received_events_url":"https://api.github.com/users/FidelityInternational/received_events","type":"Organization","site_admin":false},"repo":{"id":161476595,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE0NzY1OTU=","name":"djangocms-navigation","full_name":"FidelityInternational/djangocms-navigation","private":false,"owner":{"login":"FidelityInternational","id":17474425,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDc0NDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17474425?v=4","gravatar_id":"","url":"https://api.github.com/users/FidelityInternational","html_url":"https://github.com/FidelityInternational","followers_url":"https://api.github.com/users/FidelityInternational/followers","following_url":"https://api.github.com/users/FidelityInternational/following{/other_user}","gists_url":"https://api.github.com/users/FidelityInternational/gists{/gist_id}","starred_url":"https://api.github.com/users/FidelityInternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FidelityInternational/subscriptions","organizations_url":"https://api.github.com/users/FidelityInternational/orgs","repos_url":"https://api.github.com/users/FidelityInternational/repos","events_url":"https://api.github.com/users/FidelityInternational/events{/privacy}","received_events_url":"https://api.github.com/users/FidelityInternational/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FidelityInternational/djangocms-navigation","description":null,"fork":false,"url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation","forks_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/forks","keys_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/teams","hooks_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/hooks","issue_events_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/events{/number}","events_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/events","assignees_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/assignees{/user}","branches_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/branches{/branch}","tags_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/tags","blobs_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/refs{/sha}","trees_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/statuses/{sha}","languages_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/languages","stargazers_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/stargazers","contributors_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/contributors","subscribers_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/subscribers","subscription_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/subscription","commits_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/commits{/sha}","git_commits_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/git/commits{/sha}","comments_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/comments{/number}","issue_comment_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/comments{/number}","contents_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/contents/{+path}","compare_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/merges","archive_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/downloads","issues_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues{/number}","pulls_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls{/number}","milestones_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/milestones{/number}","notifications_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/labels{/name}","releases_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/releases{/id}","deployments_url":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/deployments","created_at":"2018-12-12T11:10:55Z","updated_at":"2018-12-12T14:13:48Z","pushed_at":"2018-12-14T01:30:32Z","git_url":"git://github.com/FidelityInternational/djangocms-navigation.git","ssh_url":"git@github.com:FidelityInternational/djangocms-navigation.git","clone_url":"https://github.com/FidelityInternational/djangocms-navigation.git","svn_url":"https://github.com/FidelityInternational/djangocms-navigation","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2"},"html":{"href":"https://github.com/FidelityInternational/djangocms-navigation/pull/2"},"issue":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/2"},"comments":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/FidelityInternational/djangocms-navigation/statuses/f30ebd74cf683a010e18fe9e8858fea955d23b51"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"monikasulik"}}