Remove required fields for order
This commit is contained in:
parent
e506bfda55
commit
23ab6974fe
@ -0,0 +1,27 @@
|
||||
# Generated by Django 4.0.2 on 2022-04-30 23:11
|
||||
|
||||
import core.weight
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import django_measurement.models
|
||||
import measurement.measures.mass
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0007_product_subtitle'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='coupon',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='orders', to='core.coupon'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='order',
|
||||
name='weight',
|
||||
field=django_measurement.models.MeasurementField(blank=True, default=core.weight.zero_weight, measurement=measurement.measures.mass.Mass, null=True),
|
||||
),
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user