Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix removing django_fsm
Anna Siwik9fb3c97c57e3
diff --git a/saleor/order/migrations/0028_status_fsm.py b/saleor/order/migrations/0028_status_fsm.pyindex a6f44dce8e..fb2ee68fd4 100644--- a/saleor/order/migrations/0028_status_fsm.py+++ b/saleor/order/migrations/0028_status_fsm.py@@ -2,8 +2,7 @@# Generated by Django 1.11.5 on 2018-01-03 13:08from __future__ import unicode_literals-from django.db import migrations-import django_fsm+from django.db import migrations, modelsclass Migration(migrations.Migration):@@ -16,6 +15,6 @@ class Migration(migrations.Migration):migrations.AlterField(model_name='deliverygroup',name='status',- field=django_fsm.FSMField(choices=[('new', 'Processing'), ('cancelled', 'Cancelled'), ('shipped', 'Shipped')], default='new', max_length=32, protected=True, verbose_name='shipment status'),+ field=models.CharField(choices=[('new', 'Processing'), ('cancelled', 'Cancelled'), ('shipped', 'Shipped')], default='new', max_length=32, verbose_name='shipment status'),),]diff --git a/saleor/order/migrations/0029_auto_20180111_0845.py b/saleor/order/migrations/0029_auto_20180111_0845.pyindex 87ce09bdb0..b4a91d676e 100644--- a/saleor/order/migrations/0029_auto_20180111_0845.py+++ b/saleor/order/migrations/0029_auto_20180111_0845.py@@ -5,7 +5,6 @@ from __future__ import unicode_literalsfrom django.conf import settingsfrom django.db import migrations, modelsimport django.db.models.deletion-import django_fsmclass Migration(migrations.Migration):@@ -18,7 +17,7 @@ class Migration(migrations.Migration):migrations.AlterField(model_name='deliverygroup',name='status',- field=django_fsm.FSMField(choices=[('new', 'Processing'), ('cancelled', 'Cancelled'), ('shipped', 'Shipped')], default='new', max_length=32, protected=True),+ field=models.CharField(choices=[('new', 'Processing'), ('cancelled', 'Cancelled'), ('shipped', 'Shipped')], default='new', max_length=32),),migrations.AlterField(model_name='ordernote',diff --git a/saleor/settings.py b/saleor/settings.pyindex 4d528b563e..cc786775ab 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -174,7 +174,6 @@ INSTALLED_APPS = ['versatileimagefield','django_babel','bootstrap4',- 'django_fsm','django_prices','django_prices_openexchangerates','graphene_django',