Skip to content

Commit

Permalink
Merge pull request #76 from Coldwings/issue-75
Browse files Browse the repository at this point in the history
fix E1101 problem when use mongoengine.Document.objects as a query.
  • Loading branch information
carlio authored Jun 16, 2016
2 parents 2d71f07 + b72d96f commit 1a681c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pylint_django/transforms/transforms/mongoengine.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from mongoengine.errors import DoesNotExist, MultipleObjectsReturned
from mongoengine.queryset.manager import QuerySetManager

class Document(object):
_meta = None
objects = None
objects = QuerySetManager()

id = None
pk = None
Expand Down

0 comments on commit 1a681c3

Please sign in to comment.