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
2c57de8f
Verified
Commit
2c57de8f
authored
Feb 10, 2019
by
Peter Stanko
Browse files
Nested user should have a name
parent
7c079b31
Pipeline
#28734
passed with stage
in 3 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
portal/rest/schemas.py
View file @
2c57de8f
...
...
@@ -15,7 +15,7 @@ class NestedCollection:
'Group'
:
(
'id'
,
'codename'
,
'course.id'
),
'Project'
:
(
'id'
,
'codename'
,
'course.id'
),
'Course'
:
(
'id'
,
'codename'
),
'User'
:
(
'id'
,
'username'
,
'uco'
,
'codename'
),
'User'
:
(
'id'
,
'username'
,
'uco'
,
'codename'
,
'name'
),
'Worker'
:
(
'id'
,
'codename'
,
'name'
),
'Client'
:
(
'id'
,
'type'
,
'name'
,
'codename'
),
'Component'
:
(
'id'
,
'name'
,
'type'
),
...
...
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