Skip to content

Commit 85ba447

Browse files
committed
hotfix serializers
1 parent 2595bbe commit 85ba447

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

project/geosource/serializers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ class SourceSerializer(PolymorphicModelSerializer):
112112
fields = FieldSerializer(many=True, required=False)
113113
slug = serializers.SlugField(max_length=255, read_only=True)
114114
report = SourceReportingSerializer(read_only=True)
115+
layers = serializers.PrimaryKeyRelatedField(many=True, read_only=True)
115116

116117
class Meta:
117118
fields = "__all__"
@@ -174,6 +175,7 @@ class Meta:
174175
"geom_type",
175176
"report",
176177
"layers",
178+
"updated_at",
177179
)
178180

179181
def get__type(self, instance):

0 commit comments

Comments
 (0)