Skip to content
Snippets Groups Projects
Verified Commit 15e4478e authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Mark template_id as read-only on UpdateProcess

parent 8c221b6d
No related branches found
No related tags found
1 merge request!2493Mark template_id as read-only on UpdateProcess
......@@ -117,7 +117,7 @@ class ProcessSerializer(ProcessLightSerializer):
)
template_id = serializers.PrimaryKeyRelatedField(
queryset=Process.objects.none(),
read_only=True,
allow_null=True,
source="template",
style={"base_template": "input.html"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment