def export_active_users(): from staff.backup import BackupManager manager = BackupManager() manager.export_active_users()
def handle(self, *labels, **options): manager = BackupManager() manager.export_active_users()