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

@@ -91,6 +91,9 @@ class BasePaymentProvider:
))
]
)
.. WARNING:: It is highly discouraged to alter the ``_enabled`` field of the default
implementation.
"""
return OrderedDict([
('_enabled',