Fakultas Ilmu Komputer UI

Commit d75b2d76 authored by Dave Nathanael's avatar Dave Nathanael
Browse files

[CHORES] Remove unused is_active field

parent a83d3347
Pipeline #40923 failed with stages
in 2 minutes and 1 second
......@@ -10,7 +10,6 @@ from apps.cases.models import (
class CaseSubjectSerializer(serializers.ModelSerializer):
is_active = serializers.BooleanField(read_only=True)
class Meta:
model = CaseSubject
......@@ -22,13 +21,11 @@ class CaseSubjectSerializer(serializers.ModelSerializer):
"address",
"district",
"sub_district",
"is_active",
"created_at",
]
class CaseSubjectHistorySerializer(serializers.ModelSerializer):
is_active = serializers.BooleanField(read_only=True)
class Meta:
model = CaseSubjectHistory
......@@ -41,7 +38,6 @@ class CaseSubjectHistorySerializer(serializers.ModelSerializer):
"address",
"district",
"sub_district",
"is_active",
"action_type",
"recorded_at",
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment