add FieldDoesNotExist exception to __all__
So it will be available when you do: from mongoengine import *
This commit is contained in:
parent
913952ffe1
commit
4627af3e90
@ -5,7 +5,8 @@ from mongoengine.python_support import txt_type
|
|||||||
|
|
||||||
__all__ = ('NotRegistered', 'InvalidDocumentError', 'LookUpError',
|
__all__ = ('NotRegistered', 'InvalidDocumentError', 'LookUpError',
|
||||||
'DoesNotExist', 'MultipleObjectsReturned', 'InvalidQueryError',
|
'DoesNotExist', 'MultipleObjectsReturned', 'InvalidQueryError',
|
||||||
'OperationError', 'NotUniqueError', 'ValidationError')
|
'OperationError', 'NotUniqueError', 'FieldDoesNotExist',
|
||||||
|
'ValidationError')
|
||||||
|
|
||||||
|
|
||||||
class NotRegistered(Exception):
|
class NotRegistered(Exception):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user