feat: lots of changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 5.0.3 on 2024-03-24 22:50
|
||||
# Generated by Django 5.0.3 on 2024-04-24 14:00
|
||||
|
||||
import django.db.models.deletion
|
||||
import django.utils.timezone
|
||||
@@ -139,7 +139,12 @@ class Migration(migrations.Migration):
|
||||
verbose_name="ID",
|
||||
),
|
||||
),
|
||||
("uuid", models.UUIDField(default=uuid.uuid4, verbose_name="UUID")),
|
||||
(
|
||||
"uuid",
|
||||
models.UUIDField(
|
||||
db_index=True, default=uuid.uuid4, verbose_name="UUID"
|
||||
),
|
||||
),
|
||||
(
|
||||
"creation_date",
|
||||
models.DateTimeField(
|
||||
@@ -346,6 +351,14 @@ class Migration(migrations.Migration):
|
||||
verbose_name="Producto",
|
||||
),
|
||||
),
|
||||
(
|
||||
"tax",
|
||||
models.ForeignKey(
|
||||
on_delete=django.db.models.deletion.PROTECT,
|
||||
to="shop.tax",
|
||||
verbose_name="Impuesto aplicable",
|
||||
),
|
||||
),
|
||||
],
|
||||
options={
|
||||
"verbose_name": "Precio de producto",
|
||||
|
||||
Reference in New Issue
Block a user