def export_vcard(self, request, queryset, export_name=''):
     """Export selected contact in VCard"""
     return vcard_contacts_export_response(queryset)
示例#2
0
 def exportion_vcard(self, request, mailinglist_id):
     """Export subscribers in the mailing in VCard"""
     mailinglist = get_object_or_404(MailingList, pk=mailinglist_id)
     name = 'contacts_%s' % smart_str(mailinglist.name)
     return vcard_contacts_export_response(mailinglist.subscribers.all(), name)
 def exportion_vcard(self, request, mailinglist_id):
     """Export subscribers in the mailing in VCard"""
     mailinglist = get_object_or_404(MailingList, pk=mailinglist_id)
     name = 'contacts_%s' % smart_str(mailinglist.name)
     return vcard_contacts_export_response(mailinglist.subscribers.all(), name)
示例#4
0
 def export_vcard(self, request, queryset, export_name=''):
     """Export selected contact in VCard"""
     return vcard_contacts_export_response(queryset)