Commit a824aa69 by Chif Gergő

Add id to template serializer fields

parent 799c0577
...@@ -12,6 +12,7 @@ class ImageTemplateModelSerializer(serializers.ModelSerializer): ...@@ -12,6 +12,7 @@ class ImageTemplateModelSerializer(serializers.ModelSerializer):
class Meta: class Meta:
model = ImageTemplate model = ImageTemplate
fields = ( fields = (
"id",
"name", "name",
"description", "description",
"created_at", "created_at",
...@@ -25,4 +26,5 @@ class ImageTemplateModelSerializer(serializers.ModelSerializer): ...@@ -25,4 +26,5 @@ class ImageTemplateModelSerializer(serializers.ModelSerializer):
"created_at", "created_at",
"created_by", "created_by",
"type", "type",
"id",
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment