Browse Source

Active button when editing keg

pull/4/head
Yoann Piétri 7 years ago
parent
commit
7a2c4e14ee
  1. 1
      .gitignore
  2. 2
      gestion/forms.py

1
.gitignore

@ -44,3 +44,4 @@ venv
static/
Pipfile
mediafiles
Pipfile.lock

2
gestion/forms.py

@ -52,7 +52,7 @@ class KegForm(forms.ModelForm):
class Meta:
model = Keg
exclude = ("is_active", )
fields = "__all__"
widgets = {'amount': forms.TextInput}
class MenuForm(forms.ModelForm):

Loading…
Cancel
Save