+ Implemented inventarization
+ minor translation fixes
This commit is contained in:
parent
e0b98dabce
commit
5877b83424
10 changed files with 121 additions and 185 deletions
12
invsystem/object_adder/forms.py
Normal file
12
invsystem/object_adder/forms.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from django.forms import ModelForm, TextInput
|
||||
|
||||
from .models import Object
|
||||
|
||||
|
||||
class ObjectForm(ModelForm):
|
||||
class Meta:
|
||||
model = Object
|
||||
fields = ('ammout', 'title', 'img', 'description')
|
||||
widgets = {
|
||||
'title': TextInput(),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue