Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rex Dri
Rex Dri
Commits
4325506e
Unverified
Commit
4325506e
authored
May 24, 2020
by
Florent Chehab
Browse files
fix(univ form): marked readonly fields in UniversitySerializer
parent
00550d51
Pipeline
#61476
passed with stages
in 6 minutes and 50 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
4325506e
...
...
@@ -4,7 +4,7 @@
###### _TBD_
-
[f
eat] blablabla
-
[f
ix] front: univ form was broken (updated backend serializer)
## v2.6.0
...
...
backend/backend_app/models/university.py
View file @
4325506e
...
...
@@ -64,6 +64,13 @@ class UniversitySerializer(EssentialModuleSerializer):
"main_campus_lon"
,
"denormalized_infos"
,
)
read_only_fields
=
(
"city"
,
"country"
,
"main_campus_lat"
,
"main_campus_lon"
,
"denormalized_infos"
,
)
class
UniversityViewSet
(
EssentialModuleViewSet
):
...
...
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