Fix #65 -- Disallow None value for product default prices (#3847)

* Fix #65 -- Disallow None value for product default prices

* Fix #65 -- Disallow None value for product default prices

* Rebase migration
This commit is contained in:
Raphael Michel
2024-02-28 16:10:53 +01:00
committed by GitHub
parent a5d4434a64
commit 04ef097eb1
3 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
# Generated by Django 4.2.9 on 2024-01-30 11:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("pretixbase", "0256_itemvariation_unavail_modes"),
]
operations = [
migrations.AlterField(
model_name="item",
name="default_price",
field=models.DecimalField(decimal_places=2, default=0, max_digits=13),
preserve_default=False,
),
]