Created
August 21, 2023 13:16
-
-
Save brunomichetti/d70a5d6fb142f9a01ed0af128f41ff59 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
... | |
@action(detail=False, methods=("GET", "POST",), pagination_class=None) | |
def leaders(self, request): | |
... | |
... | |
@action(detail=True, methods=("GET",), pagination_class=None) | |
def tree(self, request, pk): | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment