Skip to content

Commit

Permalink
allow unlimited flexpages (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo authored Jul 30, 2024
1 parent d3b6e79 commit a76de8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ def get_sitemap_urls(self, request=None):
class FlexPage(RootPage):
parent_page_types = ['pages.RootPage']
template = 'page.html'
max_count = None

def get_url_parts(self, *args, **kwargs):
url_parts = super(FlexPage, self).get_url_parts(*args, **kwargs)
Expand Down

0 comments on commit a76de8e

Please sign in to comment.