mirror of
https://github.com/nanoy42/coope
synced 2024-11-22 03:13:12 +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/
|
||||
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