change MonthField from CharField to DateField

This commit is contained in:
Kenneth SOARES
2025-09-09 12:35:10 +02:00
parent c7231608a9
commit 0fef2e0071
3 changed files with 30 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
# Generated by Django 5.2 on 2025-06-14 14:35
# Generated by Django 5.2.3 on 2025-09-09 10:24
import django.db.models.deletion
from django.db import migrations, models
@@ -25,13 +25,11 @@ class Migration(migrations.Migration):
verbose_name="ID",
),
),
("is_validated", models.BooleanField(verbose_name="is validated")),
(
"month",
counter.models.MonthField(
max_length=7, verbose_name="invoice date"
),
"is_validated",
models.BooleanField(default=False, verbose_name="is validated"),
),
("month", counter.models.MonthField(verbose_name="invoice date")),
(
"club",
models.ForeignKey(