Commit ca9d5f84 authored by Bruno Martin's avatar Bruno Martin
Browse files

set classroom image field as readonly

parent 7c2b69ca
......@@ -58,6 +58,7 @@ class ClassroomSerializer(serializers.ModelSerializer):
read_only_fields = ['image']
depth = 1
def get_can_edit(self, obj):
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