Working asset edit/create template

This commit is contained in:
Harry Bridge
2019-01-05 20:00:00 +00:00
parent 9f3c1f7f3c
commit fbfd8f272b
7 changed files with 428 additions and 15 deletions

9
forms.py Normal file
View File

@@ -0,0 +1,9 @@
from django import forms
from assets import models
class AssetForm(forms.ModelForm):
class Meta:
model = models.Asset
fields = '__all__'