feat: order creation on cart detail view
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 5.1.3 on 2025-01-02 13:36
|
||||
# Generated by Django 5.1.3 on 2025-01-03 11:17
|
||||
|
||||
import django.db.models.deletion
|
||||
import django.utils.timezone
|
||||
@@ -275,6 +275,7 @@ class Migration(migrations.Migration):
|
||||
verbose_name="tipo de dirección",
|
||||
),
|
||||
),
|
||||
("email", models.EmailField(max_length=254, verbose_name="e-mail")),
|
||||
(
|
||||
"default",
|
||||
models.BooleanField(default=True, verbose_name="por defecto"),
|
||||
@@ -354,6 +355,12 @@ class Migration(migrations.Migration):
|
||||
verbose_name="total",
|
||||
),
|
||||
),
|
||||
(
|
||||
"email",
|
||||
models.EmailField(
|
||||
blank=True, max_length=254, verbose_name="e-mail"
|
||||
),
|
||||
),
|
||||
(
|
||||
"billing_address",
|
||||
models.CharField(
|
||||
@@ -411,6 +418,8 @@ class Migration(migrations.Migration):
|
||||
(
|
||||
"user",
|
||||
models.ForeignKey(
|
||||
blank=True,
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.PROTECT,
|
||||
to=settings.AUTH_USER_MODEL,
|
||||
verbose_name="cliente",
|
||||
|
||||
Reference in New Issue
Block a user