diff --git a/ecommerce/core/migrations/0067_alter_siteconfiguration_enable_microfrontend_for_basket_page.py b/ecommerce/core/migrations/0067_alter_siteconfiguration_enable_microfrontend_for_basket_page.py new file mode 100644 index 00000000000..d1b1c23d655 --- /dev/null +++ b/ecommerce/core/migrations/0067_alter_siteconfiguration_enable_microfrontend_for_basket_page.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.12 on 2022-09-27 08:44 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0066_remove_account_microfrontend_url_field_from_SiteConfiguration'), + ] + + operations = [ + migrations.AlterField( + model_name='siteconfiguration', + name='enable_microfrontend_for_basket_page', + field=models.BooleanField(blank=True, default=False, help_text='Use the microfrontend implementation of the basket page instead of the server-side template', null=True, verbose_name='Enable Microfrontend for Basket Page'), + ), + ] diff --git a/ecommerce/core/models.py b/ecommerce/core/models.py index 4b1cdff6761..be3d1120faf 100644 --- a/ecommerce/core/models.py +++ b/ecommerce/core/models.py @@ -192,7 +192,8 @@ class SiteConfiguration(models.Model): verbose_name=_('Enable Microfrontend for Basket Page'), help_text=_('Use the microfrontend implementation of the basket page instead of the server-side template'), blank=True, - default=False + default=False, + null=True ) payment_microfrontend_url = models.URLField( verbose_name=_('Payment Microfrontend URL'),