Skip to content

Commit

Permalink
fix django-cms#7865: Do not ignore setting of CMS_ DEFAULT_IN_NAVIGATION
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Apr 5, 2024
1 parent 191e768 commit 5365d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/admin/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class AddPageForm(BasePageContentForm):
widget=forms.HiddenInput(),
)
content_defaults = {
"in_navigation": True,
'in_navigation': get_cms_setting('DEFAULT_IN_NAVIGATION'),
}

class Meta:
Expand Down

0 comments on commit 5365d29

Please sign in to comment.