mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Proper support for required fields in payment provider settings
Closes #22
This commit is contained in:
@@ -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
|
||||
))
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user