def handle_noargs(self, **options):
        from django.db.models import get_models
        for model in get_models():
            if hasattr(model.objects, 'is_roa_manager'):
                print (model.__name__, model.get_resource_url_list()) % '%s (%s)'
                for field in model._meta.fields:
                    print '  %s (%s)' % (field.attname, field.__class__.__name__)
dataset/ETHPy150Open charles-vdulac/django-roa/django_roa/management/commands/inspectresources.py/Command.handle_noargs/swapped operands of `%`