Skip to content

Commit

Permalink
Tender.siae_transactioned allow null (to seperate true & false)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Sep 26, 2023
1 parent d15e69d commit 1e24bf9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 4.2.2 on 2023-09-26 08:05

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("tenders", "0056_alter_tender_scale_marche_useless"),
]

operations = [
migrations.AlterField(
model_name="tender",
name="siae_transactioned",
field=models.BooleanField(
blank=True,
help_text="Champ renseigné par un ADMIN",
null=True,
verbose_name="Abouti à une transaction avec une structure",
),
),
]
3 changes: 2 additions & 1 deletion lemarche/tenders/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ class Tender(models.Model):
siae_transactioned = models.BooleanField(
verbose_name="Abouti à une transaction avec une structure",
help_text="Champ renseigné par un ADMIN",
default=False,
blank=True,
null=True,
)
amount_exact = models.PositiveIntegerField(
verbose_name="Montant exact du besoin", help_text="Champ renseigné par un ADMIN", blank=True, null=True
Expand Down

0 comments on commit 1e24bf9

Please sign in to comment.