mirror of
https://github.com/ae-utbm/sith.git
synced 2026-06-05 07:39:21 +00:00
make BillingInfo.phone_number non-nullable
This commit is contained in:
@@ -15,7 +15,7 @@ class Migration(migrations.Migration):
|
||||
blank=True,
|
||||
help_text=(
|
||||
"If a limit is set, the product won't be purchasable "
|
||||
"anymore once the latter is reached."
|
||||
"anymore on the eboutic once the latter is reached."
|
||||
),
|
||||
null=True,
|
||||
verbose_name="clic limit",
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 5.2.14 on 2026-06-02 10:45
|
||||
|
||||
import django_countries.fields
|
||||
import phonenumber_field.modelfields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [("counter", "0040_product_clic_limit")]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="billinginfo",
|
||||
name="country",
|
||||
field=django_countries.fields.CountryField(
|
||||
max_length=2, verbose_name="Country"
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="billinginfo",
|
||||
name="phone_number",
|
||||
field=phonenumber_field.modelfields.PhoneNumberField(
|
||||
max_length=128, region=None, verbose_name="Phone number"
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user