Skip to content
Snippets Groups Projects
Commit 87677485 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-405: show scheduling_constraints_doc as JSONEditorField

parent 71724768
No related branches found
No related tags found
1 merge request!240Resolve TMSS-405
...@@ -288,6 +288,7 @@ class SchedulingSetSerializer(RelationalHyperlinkedModelSerializer): ...@@ -288,6 +288,7 @@ class SchedulingSetSerializer(RelationalHyperlinkedModelSerializer):
class SchedulingUnitDraftSerializer(RelationalHyperlinkedModelSerializer): class SchedulingUnitDraftSerializer(RelationalHyperlinkedModelSerializer):
requirements_doc = JSONEditorField(schema_source="requirements_template.schema") requirements_doc = JSONEditorField(schema_source="requirements_template.schema")
scheduling_constraints_doc = JSONEditorField(schema_source="scheduling_constraints_template.schema")
duration = FloatDurationField(read_only=True) duration = FloatDurationField(read_only=True)
class Meta: class Meta:
......
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