def get_resource_uri(self, bundle_or_obj=None, url_name='api_dispatch_list'):
        if bundle_or_obj is None:
            return '/api/v1/subjects/'

        return bundle_or_obj.obj.id % '/api/v1/subjects/%s/'
dataset/ETHPy150Open django-tastypie/django-tastypie/tests/core/tests/fields.py/SubjectResource.get_resource_uri/swapped operands of `%`