|
|
@ -113,8 +113,7 @@ class TextClassificationProjectSerializer(ProjectSerializer): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = TextClassificationProject |
|
|
|
fields = ('id', 'name', 'description', 'guideline', 'users', 'current_users_role', 'project_type', 'image', |
|
|
|
'updated_at', 'randomize_document_order') |
|
|
|
fields = ProjectSerializer.Meta.fields |
|
|
|
read_only_fields = ProjectSerializer.Meta.read_only_fields |
|
|
|
|
|
|
|
|
|
|
@ -122,8 +121,7 @@ class SequenceLabelingProjectSerializer(ProjectSerializer): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = SequenceLabelingProject |
|
|
|
fields = ('id', 'name', 'description', 'guideline', 'users', 'current_users_role', 'project_type', 'image', |
|
|
|
'updated_at', 'randomize_document_order') |
|
|
|
fields = ProjectSerializer.Meta.fields |
|
|
|
read_only_fields = ProjectSerializer.Meta.read_only_fields |
|
|
|
|
|
|
|
|
|
|
@ -131,8 +129,7 @@ class Seq2seqProjectSerializer(ProjectSerializer): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = Seq2seqProject |
|
|
|
fields = ('id', 'name', 'description', 'guideline', 'users', 'current_users_role', 'project_type', 'image', |
|
|
|
'updated_at', 'randomize_document_order') |
|
|
|
fields = ProjectSerializer.Meta.fields |
|
|
|
read_only_fields = ProjectSerializer.Meta.read_only_fields |
|
|
|
|
|
|
|
|
|
|
|