3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-05-17 06:05:32 +00:00

Active button when editing keg

This commit is contained in:
Yoann Pétri 2019-04-28 13:13:30 +02:00
parent aa1c948367
commit 7a2c4e14ee
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

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

View file

@ -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):