Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kontr 2.0
Portal API Backend
Commits
f6f0b86e
Commit
f6f0b86e
authored
Mar 19, 2019
by
Kristyna Pekarkova
Committed by
Peter Stanko
Mar 19, 2019
Browse files
Fixed submission schema, added user name
parent
395c57b9
Pipeline
#30125
passed with stage
in 3 minutes and 24 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
portal/rest/schemas.py
View file @
f6f0b86e
...
...
@@ -19,7 +19,7 @@ class NestedCollection:
'Worker'
:
(
'id'
,
'codename'
,
'name'
),
'Client'
:
(
'id'
,
'type'
,
'name'
,
'codename'
),
'Component'
:
(
'id'
,
'name'
,
'type'
),
'Submission'
:
(
'id'
,
'state'
,
'user.id'
,
'user.username'
,
'Submission'
:
(
'id'
,
'state'
,
'user.id'
,
'user.username'
,
'user.name'
,
'project.id'
,
'project.codename'
,
'course.id'
,
'course.codename'
,
'created_at'
,
'updated_at'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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