Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
Update serializers to match models
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronstephenson committed Aug 25, 2017
1 parent d8250a5 commit 0a6f557
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lideservices/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,15 @@ class FinalConcentratedSampleVolumeSerializer(serializers.ModelSerializer):

class Meta:
model = FinalConcentratedSampleVolume
fields = ('id', 'name', 'description',)
fields = ('id', 'sample', 'concentration_type', 'final_concentrated_sample_volume',
'final_concentrated_sample_volume_notes',)


class ConcentrationTypeSerializer(serializers.ModelSerializer):

class Meta:
model = ConcentrationType
fields = ('id', 'name', 'description',)
fields = ('id', 'name',)


######
Expand Down Expand Up @@ -177,8 +178,7 @@ class ReverseTranscriptionSerializer(serializers.ModelSerializer):

class Meta:
model = ReverseTranscription
fields = ('id', 'name', 'extraction', 'volume_in', 'volume_out', 'cycle_of_quantification',
'reverse_transcription_date',)
fields = ('id', 'name', 'extraction', 'volume_in', 'volume_out', 'cycle_of_quantification',)


class PCRReplicateSerializer(serializers.ModelSerializer):
Expand Down Expand Up @@ -222,7 +222,7 @@ class ControlSerializer(serializers.ModelSerializer):

class Meta:
model = Control
fields = ('id', 'type', 'sample', 'target', 'qc_value', 'qc_flag',)
fields = ('id', 'type', 'extraction', 'target', 'qc_value', 'qc_flag',)


######
Expand Down

0 comments on commit 0a6f557

Please sign in to comment.