Skip to content

Commit f4d82b8

Browse files
committed
Override addCreator for not setting the default author if not set.
1 parent 863d619 commit f4d82b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/collective/blog/content/post.py

+4
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,7 @@ class Post(Container):
7575
def blog_uid(self):
7676
"""Return the uid of the nearest blog object."""
7777
return utils.find_blog_container_uid(self)
78+
79+
def addCreator(self, creator=None):
80+
"""Override the original addCreator for not adding a creator by default."""
81+
pass

0 commit comments

Comments
 (0)