prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  2 link limit on nav items
  affects the footer, need more than 2 items 
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `meinberlin/apps/cms/models/navigation_menues.py`
  Content:
  ```
  1 from django.db import models
  2 from modelcluster.fields import ParentalKey
  3 from modelcluster.models import ClusterableModel
  4 from wagtail.admin import edit_handlers
  5 from wagtail.core.models import Orderable
  6 from wagtail.snippets.models import register_snippet
  7 
  8 
  9 class MenuItem(models.Model):
  10     title = models.CharField(max_length=255)
  11     link_page = models.ForeignKey('wagtailcore.Page')
  12 
  13     @property
  14     def url(self):
  15         return self.link_page.url
  16 
  17     def __str__(self):
  18         return self.title
  19 
  20     panels = [
  21         edit_handlers.FieldPanel('title'),
  22         edit_handlers.PageChooserPanel('link_page')
  23     ]
  24 
  25 
  26 @register_snippet
  27 class NavigationMenu(ClusterableModel):
  28     title = models.CharField(max_length=255, null=False, blank=False)
  29 
  30     def __str__(self):
  31         return self.title
  32 
  33     panels = [
  34         edit_handlers.FieldPanel('title'),
  35         edit_handlers.InlinePanel('items', max_num=2)
  36     ]
  37 
  38 
  39 class NavigationMenuItem(Orderable, MenuItem):
  40     parent = ParentalKey('meinberlin_cms.NavigationMenu', related_name='items')
  41
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/meinberlin/apps/cms/models/navigation_menues.py b/meinberlin/apps/cms/models/navigation_menues.py
  --- a/meinberlin/apps/cms/models/navigation_menues.py
  +++ b/meinberlin/apps/cms/models/navigation_menues.py
  @@ -32,7 +32,7 @@
   
       panels = [
           edit_handlers.FieldPanel('title'),
  -        edit_handlers.InlinePanel('items', max_num=2)
  +        edit_handlers.InlinePanel('items')
       ]
  
verification_info: {"golden_diff": "diff --git a/meinberlin/apps/cms/models/navigation_menues.py b/meinberlin/apps/cms/models/navigation_menues.py\n--- a/meinberlin/apps/cms/models/navigation_menues.py\n+++ b/meinberlin/apps/cms/models/navigation_menues.py\n@@ -32,7 +32,7 @@\n \n     panels = [\n         edit_handlers.FieldPanel('title'),\n-        edit_handlers.InlinePanel('items', max_num=2)\n+        edit_handlers.InlinePanel('items')\n     ]\n", "issue": "2 link limit on nav items\naffects the footer, need more than 2 items \n", "before_files": [{"content": "from django.db import models\nfrom modelcluster.fields import ParentalKey\nfrom modelcluster.models import ClusterableModel\nfrom wagtail.admin import edit_handlers\nfrom wagtail.core.models import Orderable\nfrom wagtail.snippets.models import register_snippet\n\n\nclass MenuItem(models.Model):\n    title = models.CharField(max_length=255)\n    link_page = models.ForeignKey('wagtailcore.Page')\n\n    @property\n    def url(self):\n        return self.link_page.url\n\n    def __str__(self):\n        return self.title\n\n    panels = [\n        edit_handlers.FieldPanel('title'),\n        edit_handlers.PageChooserPanel('link_page')\n    ]\n\n\n@register_snippet\nclass NavigationMenu(ClusterableModel):\n    title = models.CharField(max_length=255, null=False, blank=False)\n\n    def __str__(self):\n        return self.title\n\n    panels = [\n        edit_handlers.FieldPanel('title'),\n        edit_handlers.InlinePanel('items', max_num=2)\n    ]\n\n\nclass NavigationMenuItem(Orderable, MenuItem):\n    parent = ParentalKey('meinberlin_cms.NavigationMenu', related_name='items')\n", "path": "meinberlin/apps/cms/models/navigation_menues.py"}], "after_files": [{"content": "from django.db import models\nfrom modelcluster.fields import ParentalKey\nfrom modelcluster.models import ClusterableModel\nfrom wagtail.admin import edit_handlers\nfrom wagtail.core.models import Orderable\nfrom wagtail.snippets.models import register_snippet\n\n\nclass MenuItem(models.Model):\n    title = models.CharField(max_length=255)\n    link_page = models.ForeignKey('wagtailcore.Page')\n\n    @property\n    def url(self):\n        return self.link_page.url\n\n    def __str__(self):\n        return self.title\n\n    panels = [\n        edit_handlers.FieldPanel('title'),\n        edit_handlers.PageChooserPanel('link_page')\n    ]\n\n\n@register_snippet\nclass NavigationMenu(ClusterableModel):\n    title = models.CharField(max_length=255, null=False, blank=False)\n\n    def __str__(self):\n        return self.title\n\n    panels = [\n        edit_handlers.FieldPanel('title'),\n        edit_handlers.InlinePanel('items')\n    ]\n\n\nclass NavigationMenuItem(Orderable, MenuItem):\n    parent = ParentalKey('meinberlin_cms.NavigationMenu', related_name='items')\n", "path": "meinberlin/apps/cms/models/navigation_menues.py"}]}