Ignore:
Timestamp:
1 Dec 2014, 14:43:16 (10 years ago)
Author:
Henrik Bettermann
Message:

Ease customization of STUDENT_EXPORTER_NAMES.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r12048 r12104  
    7676    )
    7777from waeup.kofa.students.catalog import search, StudentQueryResultItem
    78 from waeup.kofa.students.export import EXPORTER_NAMES
    7978from waeup.kofa.students.studylevel import StudentStudyLevel, CourseTicket
    8079from waeup.kofa.students.vocabularies import StudyLevelSource
     
    31803179            self.exporters = exporters
    31813180            return
    3182         for name in EXPORTER_NAMES:
     3181        STUDENT_EXPORTER_NAMES = getUtility(
     3182            IStudentsUtils).STUDENT_EXPORTER_NAMES
     3183        for name in STUDENT_EXPORTER_NAMES:
    31833184            util = getUtility(ICSVExporter, name=name)
    31843185            exporters.append((util.title, name),)
Note: See TracChangeset for help on using the changeset viewer.