def export_domains(self):
        for dom in models.Domain.objects.all():
            dom.to_csv(self.csvwriter)
Export all domains.
dataset/ETHPy150Open tonioo/modoboa/modoboa/admin/management/commands/subcommands/_export.py/ExportCommand.export_domains