diff --git a/infotech/subjects/serializers.py b/infotech/subjects/serializers.py index 8deffe7..a48a818 100644 --- a/infotech/subjects/serializers.py +++ b/infotech/subjects/serializers.py @@ -8,6 +8,6 @@ class SubjectSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Subject - fields = ('id', 'name', + fields = ('id', 'name', 'code', 'max_slots', 'year_level', 'semester') read_only_fields = ['id']