Merge pull request #1363 from skoval00/fix-misleading-comment

Fix misleading comment about the descriptor
This commit is contained in:
Jérôme Lafréchoux 2016-09-03 22:03:06 +02:00 committed by GitHub
commit 38c7e8a1d2

View File

@ -29,7 +29,7 @@ class QuerySetManager(object):
Document.objects is accessed.
"""
if instance is not None:
# Document class being used rather than a document object
# Document object being used rather than a document class
return self
# owner is the document that contains the QuerySetManager