mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 09:58:23 +02:00
Un peu de nettoyage, rajout de commentaires
This commit is contained in:
@ -13,6 +13,12 @@ from django.utils import timezone
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from member.models import Club
|
||||
|
||||
#################################################################
|
||||
# TO DO
|
||||
# - link allergen with one food (basic or transformed) with check
|
||||
# - check on basic food
|
||||
# - check on transformed food
|
||||
#################################################################
|
||||
|
||||
class QR_code(models.Model):
|
||||
"""
|
||||
@ -173,10 +179,14 @@ class BasicFood(models.Model):
|
||||
verbose_name=_("is DDM"),
|
||||
default=False,
|
||||
)
|
||||
|
||||
arrival_date = models.DateTimeField(
|
||||
verbose_name=_('arrival date'),
|
||||
default=timezone.now,
|
||||
)
|
||||
|
||||
expiry_date = models.DateTimeField(
|
||||
verbose_name=_('expiry date'),
|
||||
default=timezone.now,
|
||||
blank=True,
|
||||
null = True,
|
||||
)
|
||||
|
Reference in New Issue
Block a user