Ignore:
Timestamp:
1 Jul 2012, 12:31:04 (12 years ago)
Author:
Henrik Bettermann
Message:

Rename all classes from CustomXYZ to NigeriaXYZ.

Customize PhoneWidget? for Nigeria here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/studycourse.py

    r8862 r8863  
    2727from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID
    2828from kofacustom.nigeria.students.interfaces import (
    29     ICustomStudentStudyCourse, IStudentNavigation)
     29    INigeriaStudentStudyCourse, IStudentNavigation)
    3030
    31 class CustomStudentStudyCourse(StudentStudyCourse):
     31class NigeriaStudentStudyCourse(StudentStudyCourse):
    3232    """This is a container for study levels.
    3333    """
    3434
    35     grok.implements(ICustomStudentStudyCourse, IStudentNavigation)
    36     grok.provides(ICustomStudentStudyCourse)
     35    grok.implements(INigeriaStudentStudyCourse, IStudentNavigation)
     36    grok.provides(INigeriaStudentStudyCourse)
    3737
    3838    @property
     
    6060        return False
    6161
    62 CustomStudentStudyCourse = attrs_to_fields(CustomStudentStudyCourse)
     62NigeriaStudentStudyCourse = attrs_to_fields(NigeriaStudentStudyCourse)
    6363
    64 class CustomStudentStudyCourseFactory(StudentStudyCourseFactory):
     64class NigeriaStudentStudyCourseFactory(StudentStudyCourseFactory):
    6565    """A factory for student study courses.
    6666    """
    6767
    6868    def __call__(self, *args, **kw):
    69         return CustomStudentStudyCourse()
     69        return NigeriaStudentStudyCourse()
    7070
    7171    def getInterfaces(self):
    72         return implementedBy(CustomStudentStudyCourse)
     72        return implementedBy(NigeriaStudentStudyCourse)
Note: See TracChangeset for help on using the changeset viewer.