Merge pull request #1863 from bagerard/fix_string_format_bug
Fix string formatting bug in ReferenceField.validate
This commit is contained in:
commit
1b0c761fc0
@ -1160,8 +1160,7 @@ class ReferenceField(BaseField):
|
|||||||
):
|
):
|
||||||
self.error(
|
self.error(
|
||||||
'%s is not an instance of abstract reference type %s' % (
|
'%s is not an instance of abstract reference type %s' % (
|
||||||
self.document_type._class_name
|
value, self.document_type._class_name)
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def lookup_member(self, member_name):
|
def lookup_member(self, member_name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user