create 'new issue' form

This commit is contained in:
Lexi / Zoe 2019-06-03 00:14:40 +02:00
parent a69e436da5
commit e9285e415d
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
7 changed files with 46 additions and 3 deletions

9
issues/forms.py Normal file
View file

@ -0,0 +1,9 @@
from django.forms import ModelForm
from .models import Issue
class IssueForm(ModelForm):
class Meta:
model = Issue
fields = ['project', 'title', 'text']