How to pass a value from a method in a class to another?

后端 未结 0 1215
深忆病人
深忆病人 2021-01-21 05:41

I\'m using Django Rest Framework and I have two simple view classes:

class FirstView(APIView):
    def post(self, request):
        random_number = randint(10,99)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题