3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-22 11:23:11 +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/ static/
Pipfile Pipfile
mediafiles mediafiles
Pipfile.lock

View file

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