Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
11
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a824aa69
authored
Oct 02, 2019
by
Chif Gergő
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add id to template serializer fields
parent
799c0577
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
recircle/template/serializers.py
+2
-0
No files found.
recircle/template/serializers.py
View file @
a824aa69
...
@@ -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"
,
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment