- Timestamp:
- 14 Jun 2012, 05:37:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/payments.py
r8619 r8714 23 23 from zope.interface import implementedBy 24 24 from waeup.kofa.students.interfaces import IStudentNavigation 25 from waeup.kofa.students.payments import StudentOnlinePayment 25 from waeup.kofa.students.payments import ( 26 StudentOnlinePayment, StudentOnlinePaymentFactory) 26 27 from waeup.kofa.utils.helpers import attrs_to_fields 27 28 from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment … … 47 48 CustomStudentOnlinePayment = attrs_to_fields(CustomStudentOnlinePayment) 48 49 49 # Student online payments must be importable. So we might need a factory. 50 class CustomStudentOnlinePaymentFactory(grok.GlobalUtility): 50 class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory): 51 51 """A factory for student online payments. 52 52 """ 53 grok.implements(IFactory)54 grok.name(u'waeup.CustomStudentOnlinePayment')55 title = u"Create a new online payment.",56 description = u"This factory instantiates new online payment instances."57 53 58 54 def __call__(self, *args, **kw):
Note: See TracChangeset for help on using the changeset viewer.