is_available test
This commit is contained in:
1 parent
9d03bebbdb
commit
c3cad33a60
1 file changed
+2
-1
@@ -171,6 +171,7 @@ class TestCreate(APIView):
|
|||||||
time=request.data["time"],
|
time=request.data["time"],
|
||||||
question_count=request.data["question_count"],
|
question_count=request.data["question_count"],
|
||||||
attemps_number=request.data["attemps_number"],
|
attemps_number=request.data["attemps_number"],
|
||||||
|
is_available = True
|
||||||
)
|
)
|
||||||
|
|
||||||
questions_files = {
|
questions_files = {
|
||||||
@@ -227,7 +228,7 @@ class TestingView(generics.ListCreateAPIView):
|
|||||||
queryset = Testing.objects.all()
|
queryset = Testing.objects.all()
|
||||||
serializer_class = TestingSeriaizer
|
serializer_class = TestingSeriaizer
|
||||||
pagination_class = None
|
pagination_class = None
|
||||||
|
|
||||||
@swagger_auto_schema(
|
@swagger_auto_schema(
|
||||||
operation_description="""Получить все назначения теста
|
operation_description="""Получить все назначения теста
|
||||||
*Нужно авторизоваться!""",
|
*Нужно авторизоваться!""",
|
||||||
|
|||||||
Reference in new issue
Block a user