Ticket #10706: raise-exception-on-app-load.diff

File raise-exception-on-app-load.diff, 604 bytes (added by Glenn Maynard, 15 years ago)
  • django/db/models/loading.py

     
    8080                # We will check again once all the recursion has finished (in
    8181                # populate).
    8282                self.postponed.append(app_name)
    83             return None
     83                return None
     84            else:
     85                raise
    8486        self.nesting_level -= 1
    8587        if models not in self.app_store:
    8688            self.app_store[models] = len(self.app_store)
Back to Top