Skip to content

Commit

Permalink
fix: in_navigation needs to be fixed in djangocms-versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Sep 21, 2024
1 parent 4ba3b40 commit f830f40
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions djangocms_blog/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,13 +591,6 @@ class Meta:
objects = GenericDateTaggedManager()
admin_manager = AdminDateTaggedManager()

@property
def in_navigation(self):
# TODO: This is a workaround as the CMS expects such an attribute, but I have no idea
# under what conditions it has to be set to True or False. Maybe the MENU_TYPE of the
# Blog AppConfig?
return True

@property
def author(self):
return self.post.author
Expand Down

0 comments on commit f830f40

Please sign in to comment.