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

Open table and shelf life

This commit is contained in:
korenstin
2024-07-07 21:25:26 +02:00
parent 226a2a6357
commit 50a680eed2
5 changed files with 50 additions and 12 deletions

View File

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