Proper support for required fields in payment provider settings

Closes #22
This commit is contained in:
Raphael Michel
2015-04-06 13:30:08 +02:00
parent 150150b9b0
commit 320fd78a62
5 changed files with 34 additions and 7 deletions

View File

@@ -35,17 +35,14 @@ class Paypal(BasePaymentProvider):
('live', 'Live'),
('sandbox', 'Sandbox'),
),
required=False
)),
('client_id',
forms.CharField(
label=_('Client ID'),
required=False
)),
('secret',
forms.CharField(
label=_('Secret'),
required=False
))
]
)