Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
steering
Commits
a6e87f29
Commit
a6e87f29
authored
8 months ago
by
Konrad Mohrfeldt
Browse files
Options
Downloads
Patches
Plain Diff
fix: replace remaining host_ids reference
parent
3025d39e
No related branches found
No related tags found
No related merge requests found
Pipeline
#8311
passed
8 months ago
Stage: check
Stage: test
Stage: build
Stage: deploy
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
program/serializers.py
+3
-3
3 additions, 3 deletions
program/serializers.py
with
3 additions
and
3 deletions
program/serializers.py
+
3
−
3
View file @
a6e87f29
...
...
@@ -117,8 +117,8 @@ class UserSerializer(serializers.ModelSerializer):
is_privileged
=
serializers
.
SerializerMethodField
()
permissions
=
serializers
.
SerializerMethodField
()
cba
=
CBASerializer
(
required
=
False
)
host
_ids
=
serializers
.
PrimaryKeyRelatedField
(
many
=
True
,
queryset
=
Profile
.
objects
.
all
(),
required
=
False
,
source
=
"
host
s
"
profile
_ids
=
serializers
.
PrimaryKeyRelatedField
(
many
=
True
,
queryset
=
Profile
.
objects
.
all
(),
required
=
False
,
source
=
"
profile
s
"
)
class
Meta
:
...
...
@@ -130,7 +130,7 @@ class UserSerializer(serializers.ModelSerializer):
"
id
"
,
"
is_privileged
"
,
"
permissions
"
,
"
host
_ids
"
,
"
profile
_ids
"
,
)
fields
=
(
"
cba
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment