Created
November 18, 2021 18:20
-
-
Save nebiyuelias1/af3982140a32a6ce833ef457c72a091f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pause_item(self, user=None, paused_at=timezone.now()): | |
self.set_paused_at(paused_at) | |
self.set_paused_by(user) | |
self.set_is_paused(True) | |
return self.get_paused_at() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment