Ignore:
Timestamp:
16 Jun 2014, 08:29:22 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove dependencies on kofacustom.nigeria.

Location:
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/export.py

    r11545 r11687  
    1818"""Exporters for student related stuff.
    1919"""
    20 from kofacustom.skeleton.students.interfaces import (
     20from kofacustom.sampleuni.students.interfaces import (
    2121    ICustomStudent,
    2222    ICustomStudentStudyCourse,
     
    2424    ICustomCourseTicket,
    2525    ICustomStudentOnlinePayment)
    26 from kofacustom.nigeria.students.export import (
    27     NigeriaStudentsExporter,
    28     NigeriaStudentStudyCourseExporter,
    29     NigeriaStudentStudyLevelExporter,
    30     NigeriaCourseTicketExporter,
    31     NigeriaStudentPaymentsExporter)
     26from waeup.kofa.students.export import (
     27    StudentsExporter,
     28    StudentStudyCourseExporter,
     29    StudentStudyLevelExporter,
     30    CourseTicketExporter,
     31    StudentPaymentsExporter)
    3232from waeup.kofa.utils.helpers import iface_names
    3333
    34 class CustomStudentsExporter(NigeriaStudentsExporter):
     34class CustomStudentsExporter(StudentsExporter):
    3535    """Exporter for Students.
    3636    """
     
    4141        'current_level', 'current_session')
    4242
    43 class CustomStudentStudyCourseExporter(NigeriaStudentStudyCourseExporter):
     43class CustomStudentStudyCourseExporter(StudentStudyCourseExporter):
    4444    """Exporter for StudentStudyCourses.
    4545    """
     
    4848        sorted(iface_names(ICustomStudentStudyCourse))) + ('student_id',)
    4949
    50 class CustomStudentStudyLevelExporter(NigeriaStudentStudyLevelExporter):
     50class CustomStudentStudyLevelExporter(StudentStudyLevelExporter):
    5151    """Exporter for StudentStudyLevels.
    5252    """
     
    5656        'student_id', 'number_of_tickets','certcode')
    5757
    58 class CustomCourseTicketExporter(NigeriaCourseTicketExporter):
     58class CustomCourseTicketExporter(CourseTicketExporter):
    5959    """Exporter for CourseTickets.
    6060    """
     
    6464        'certcode', 'display_fullname')
    6565
    66 class CustomStudentPaymentsExporter(NigeriaStudentPaymentsExporter):
     66class CustomStudentPaymentsExporter(StudentPaymentsExporter):
    6767    """Exporter for OnlinePayment instances.
    6868    """
Note: See TracChangeset for help on using the changeset viewer.