1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Automatic allergens and expiry_date update

This commit is contained in:
korenstin
2024-07-06 19:26:21 +02:00
parent 48462f2ffc
commit 226a2a6357
8 changed files with 94 additions and 76 deletions

View File

@ -89,7 +89,7 @@ class TransformedFoodForms(forms.ModelForm):
class Meta:
model = TransformedFood
fields = ('name', 'creation_date', 'owner', 'is_active', 'allergens')
fields = ('name', 'creation_date', 'owner', 'is_active')
widgets = {
"owner": Autocomplete(
model=Club,