Skip to content

Commit

Permalink
feat: expose create_by field in PublishableEntityMixin (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido authored Sep 16, 2024
1 parent 6fa83ba commit 128d781
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openedx_learning/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Open edX Learning ("Learning Core").
"""
__version__ = "0.11.4"
__version__ = "0.11.5"
4 changes: 4 additions & 0 deletions openedx_learning/apps/authoring/publishing/model_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ def key(self):
def created(self):
return self.publishable_entity.created

@property
def created_by(self):
return self.publishable_entity.created_by

class Meta:
abstract = True

Expand Down

0 comments on commit 128d781

Please sign in to comment.