Skip to content

Commit

Permalink
fixed conversion to fraction flows while migrating
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrFr committed Dec 11, 2019
1 parent 8a1aea4 commit ad1e2c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions repair/apps/asmfa/migrations/0039_fractionflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import repair.apps.login.models.bases
import repair.apps.utils.protect_cascade
from repair.apps.asmfa.management.commands.translate import translate


class Migration(migrations.Migration):
Expand Down Expand Up @@ -44,5 +43,4 @@ class Migration(migrations.Migration):
},
bases=(repair.apps.login.models.bases.GDSEModelMixin, models.Model),
),
migrations.RunPython(translate, migrations.RunPython.noop)
]
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from django.db import migrations, models
import repair.apps.utils.protect_cascade
from repair.apps.asmfa.management.commands.translate import translate


class Migration(migrations.Migration):
Expand All @@ -16,4 +17,5 @@ class Migration(migrations.Migration):
name='process',
field=models.ForeignKey(null=True, on_delete=repair.apps.utils.protect_cascade.PROTECT_CASCADE, related_name='f_strategyfractionflowprocesses', to='asmfa.Process'),
),
migrations.RunPython(translate, migrations.RunPython.noop)
]

0 comments on commit ad1e2c1

Please sign in to comment.