chore [P-01]: подтянул бэк
This commit is contained in:
commit
b0d92ec478
1 file changed
+2
-2
@@ -124,7 +124,7 @@ class TestDetail(generics.RetrieveUpdateDestroyAPIView):
|
|||||||
lookup_url_kwarg = 'id'
|
lookup_url_kwarg = 'id'
|
||||||
lookup_field = 'id'
|
lookup_field = 'id'
|
||||||
|
|
||||||
def get(self):
|
def get(self, request):
|
||||||
"""Processes a GET request to retrieve detailed information about a test."""
|
"""Processes a GET request to retrieve detailed information about a test."""
|
||||||
test = self.get_object()
|
test = self.get_object()
|
||||||
number_of_questions = test.question_count
|
number_of_questions = test.question_count
|
||||||
@@ -550,7 +550,7 @@ class GetUsers(APIView):
|
|||||||
Комментарий
|
Комментарий
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def get(self):
|
def get(self, request):
|
||||||
"""
|
"""
|
||||||
Комментарий
|
Комментарий
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user