Ticket #8115: django-cyclic-dependency-8115.patch

File django-cyclic-dependency-8115.patch, 553 bytes (added by Kenneth Arnold, 16 years ago)
  • db/models/query.py

     
    9696        while len(dealt_with) < len(models):
    9797            found = False
    9898            for model in models:
     99                if model in dealt_with:
     100                    continue
    99101                children = self.children.setdefault(model, [])
    100102                if len([c for c in children if c not in dealt_with]) == 0:
    101103                    dealt_with[model] = None
Back to Top