(self, request, repo_base, repo_name, format=None)
return Response(cards, status=status.HTTP_200_OK)
Cards in a repo
Cards in a repo
Cards in a repo
def get(self, request, repo_base, repo_name, format=None):
        """
        Cards in a repo
        """
        username = request.user.get_username()
        serializer = CardSerializer(username, repo_base, request)
        cards = serializer.list_cards(repo_name)
        return Response(cards, status=status.HTTP_200_OK)
def get ( self , request , repo_base , repo_name , format = None ) : username = request . user . get_username ( ) serializer = CardSerializer ( username , repo_base , request ) cards = serializer . list_cards ( repo_name ) return Response ( cards , status = status . HTTP_200_OK )