Ignore:
Timestamp:
26 Sep 2013, 06:27:53 (11 years ago)
Author:
Henrik Bettermann
Message:

We need to export applicants of single containers. First step is to implement export_filtered.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py

    r9117 r10653  
    115115            applicant_id=(None, None))
    116116        return self.export(applicants, filepath)
     117
     118    def export_filtered(self, site, filepath=None, **kw):
     119        """Export applicants in container.
     120
     121        If `filepath` is ``None``, a raw string with CSV data should
     122        be returned.
     123        """
     124        return self.export(kw['container'].values(), filepath=filepath)
Note: See TracChangeset for help on using the changeset viewer.