Ignore:
Timestamp:
14 Jun 2012, 05:38:18 (12 years ago)
Author:
Henrik Bettermann
Message:

See previous revision in waeup.aaue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py

    r8421 r8715  
    2323from zope.interface import implementedBy
    2424from waeup.kofa.students.interfaces import IStudentNavigation
    25 from waeup.kofa.students.payments import StudentOnlinePayment
     25from waeup.kofa.students.payments import (
     26    StudentOnlinePayment, StudentOnlinePaymentFactory)
    2627from waeup.kofa.utils.helpers import attrs_to_fields
    2728from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment
     
    4748CustomStudentOnlinePayment = attrs_to_fields(CustomStudentOnlinePayment)
    4849
    49 # Student online payments must be importable. So we might need a factory.
    50 class CustomStudentOnlinePaymentFactory(grok.GlobalUtility):
     50class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory):
    5151    """A factory for student online payments.
    5252    """
    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."
    5753
    5854    def __call__(self, *args, **kw):
Note: See TracChangeset for help on using the changeset viewer.