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:
parent
aa1c948367
commit
7a2c4e14ee
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -44,3 +44,4 @@ venv
|
|||
static/
|
||||
Pipfile
|
||||
mediafiles
|
||||
Pipfile.lock
|
||||
|
|
|
@ -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…
Reference in a new issue