display backend repr when NotSupportedObject
This commit is contained in:
parent
cb32d30e4e
commit
1b42d2dc3a
1 changed files with 1 additions and 1 deletions
|
|
@ -179,4 +179,4 @@ class BaseBackend(object):
|
|||
if isinstance(obj, key):
|
||||
return value(self, obj, fields)
|
||||
|
||||
raise NotSupportedObject('The object of type %s is not supported by this backend' % type(obj))
|
||||
raise NotSupportedObject('The object of type %s is not supported by the backend %s' % (type(obj), self))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue