Ticket #3275: fix_depth_bug.diff
File fix_depth_bug.diff, 443 bytes (added by , 18 years ago) |
---|
-
django/db/models/query.py
760 763 """ 761 764 762 765 # If we've got a max_depth set and we've exceeded that depth, bail now. 763 if max_depth and cur_depth > max_depth:766 if max_depth and cur_depth >= max_depth: 764 767 return None 765 768 766 769 qn = backend.quote_name