Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

FC-0001: ecommerce Basket Page -> micro-frontend (make the column nullable) #3829

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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'),
),
]
3 changes: 2 additions & 1 deletion ecommerce/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down