Add export of all check-in scans

This commit is contained in:
Raphael Michel
2020-09-14 13:21:24 +02:00
parent f08f06ddff
commit 05135c779c
2 changed files with 107 additions and 0 deletions

View File

@@ -13,3 +13,9 @@ def register_csv(sender, **kwargs):
def register_pdf(sender, **kwargs):
from .exporters import PDFCheckinList
return PDFCheckinList
@receiver(register_data_exporters, dispatch_uid="export_checkin_list")
def register_log(sender, **kwargs):
from .exporters import CheckinLogList
return CheckinLogList