Unverified Commit 4325506e authored by Florent Chehab's avatar 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
......@@ -4,7 +4,7 @@
###### _TBD_
- [feat] blablabla
- [fix] front: univ form was broken (updated backend serializer)
## v2.6.0
......
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment