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:
parent
aa1c948367
commit
7a2c4e14ee
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -44,3 +44,4 @@ venv
|
||||||
static/
|
static/
|
||||||
Pipfile
|
Pipfile
|
||||||
mediafiles
|
mediafiles
|
||||||
|
Pipfile.lock
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue