Skip to content
Snippets Groups Projects
Commit f396dc98 authored by Fabio Vitello's avatar Fabio Vitello
Browse files

TMSS-419: Fixed Serializer for Scheduling Unit Process

parent 775ec5fb
No related branches found
No related tags found
1 merge request!292TMSS-419: Fixed Serializer for Scheduling Unit Process
# Generated by Django 3.0.9 on 2020-12-02 20:16
# Generated by Django 3.0.9 on 2020-12-03 08:32
from django.conf import settings
import django.contrib.postgres.fields
......@@ -17,6 +17,34 @@ class Migration(migrations.Migration):
]
operations = [
migrations.CreateModel(
name='SchedulingUnitBlueprintSummary',
fields=[
('id', models.IntegerField(primary_key=True, serialize=False)),
('sub_id', models.IntegerField()),
('taskblueprint_id', models.IntegerField()),
('task_type', models.CharField(max_length=128)),
('derived_task_status', models.CharField(max_length=128)),
],
options={
'db_table': 'tmssapp_schedulingunitblueprintsummary',
'managed': False,
},
),
migrations.CreateModel(
name='TaskBlueprintSummary',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('taskblueprint_id', models.IntegerField()),
('subtask_id', models.IntegerField()),
('substate', models.CharField(max_length=128)),
('subtask_type', models.CharField(max_length=128)),
],
options={
'db_table': 'tmssapp_taskblueprintsummary',
'managed': False,
},
),
migrations.CreateModel(
name='Algorithm',
fields=[
......
......@@ -34,8 +34,8 @@ class DecideAcceptanceSerializer(ModelSerializer):
class SchedulingUnitProcessSerializer(ModelSerializer):
class Meta:
model = models.SchedulingUnitProcess
fields = ['su','active_task','qa_reporting_to','qa_reporting_sos','pi_verification','decide_acceptance','can_delete','results_accepted','created','finished']
fields = '__all__'
class SchedulingUnitTaskSerializer(ModelSerializer):
class Meta:
model = Task
......
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