Fix "add many" and csv import and export

This commit is contained in:
Jan Tuomi
2017-05-18 13:28:30 +03:00
parent da86c411a6
commit 80313a7765
9 changed files with 200 additions and 166 deletions
+7 -1
View File
@@ -1,6 +1,6 @@
from django import forms
from members.models import Member, Payment
from members.models import Member, Payment, Request
class MemberForm(forms.ModelForm):
@@ -15,3 +15,9 @@ class PaymentForm(forms.ModelForm):
class Meta:
model = Payment
fields = ['date', 'source', 'member']
class ApplicationForm(forms.ModelForm):
class Meta:
model = Request
fields = ['first_name', 'last_name', 'email', 'AYY', 'jas', 'POR']