Ticket #10706: raise-exception-on-app-load.diff
File raise-exception-on-app-load.diff, 604 bytes (added by , 16 years ago) |
---|
-
django/db/models/loading.py
80 80 # We will check again once all the recursion has finished (in 81 81 # populate). 82 82 self.postponed.append(app_name) 83 return None 83 return None 84 else: 85 raise 84 86 self.nesting_level -= 1 85 87 if models not in self.app_store: 86 88 self.app_store[models] = len(self.app_store)