Ticket #3738: 3738.diff
File 3738.diff, 619 bytes (added by , 18 years ago) |
---|
-
django/db/models/query.py
780 780 def parse_lookup(kwarg_items, opts): 781 781 # Helper function that handles converting API kwargs 782 782 # (e.g. "name__exact": "tom") to SQL. 783 # Returns a tuple of ( tables,joins, where, params).783 # Returns a tuple of (joins, where, params). 784 784 785 785 # 'joins' is a sorted dictionary describing the tables that must be joined 786 786 # to complete the query. The dictionary is sorted because creation order