questionnaire.serializers module
-
class questionnaire.serializers.AnswerSheetSerializer(*args, **kwargs)[源代码]
基类:ModelSerializer
-
class Meta[源代码]
基类:object
-
fields = '__all__'
-
model
AnswerSheet
的别名
-
class questionnaire.serializers.AnswerTextSerializer(*args, **kwargs)[源代码]
基类:ModelSerializer
-
class Meta[源代码]
基类:object
-
fields = '__all__'
-
model
AnswerText
的别名
-
validate(attrs)[源代码]
-
class questionnaire.serializers.ChoiceSerializer(*args, **kwargs)[源代码]
基类:ModelSerializer
-
class Meta[源代码]
基类:object
-
fields = '__all__'
-
model
Choice
的别名
-
class questionnaire.serializers.QuestionSerializer(*args, **kwargs)[源代码]
基类:ModelSerializer
-
class Meta[源代码]
基类:object
-
fields = '__all__'
-
model
Question
的别名
-
class questionnaire.serializers.SurveySerializer(*args, **kwargs)[源代码]
基类:ModelSerializer
-
class Meta[源代码]
基类:object
-
fields = '__all__'
-
model
Survey
的别名
-
validate(attrs)[源代码]