mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Add missing explicit fields definition django 1.8 realted
This commit is contained in:
@@ -115,6 +115,7 @@ class InvoiceEvent(generic.View):
|
||||
|
||||
class PaymentCreate(generic.CreateView):
|
||||
model = models.Payment
|
||||
fields = ['invoice','date','amount','method']
|
||||
|
||||
def get_initial(self):
|
||||
initial = super(generic.CreateView, self).get_initial()
|
||||
|
||||
Reference in New Issue
Block a user