Removed unnecessary comment.
This commit is contained in:
parent
386c48b116
commit
9411b38508
1 changed files with 0 additions and 1 deletions
|
|
@ -135,7 +135,6 @@ class Q(object):
|
||||||
|
|
||||||
# Handle DBRef
|
# Handle DBRef
|
||||||
if isinstance(value, pymongo.dbref.DBRef):
|
if isinstance(value, pymongo.dbref.DBRef):
|
||||||
# this.created_user.$id == "4c4c56f8cc1831418c000000"
|
|
||||||
op_js = '(this.%(field)s.$id == "%(id)s" &&'\
|
op_js = '(this.%(field)s.$id == "%(id)s" &&'\
|
||||||
' this.%(field)s.$ref == "%(ref)s")' % {
|
' this.%(field)s.$ref == "%(ref)s")' % {
|
||||||
'field': key,
|
'field': key,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue