Ticket #7044: loading_typo.diff
File loading_typo.diff, 583 bytes (added by , 17 years ago) |
---|
-
django/db/models/loading.py
157 157 """ 158 158 for model in models: 159 159 # Store as 'name: model' pair in a dictionary 160 # in the _app_models dictionary160 # in the app_models dictionary 161 161 model_name = model._meta.object_name.lower() 162 162 model_dict = self.app_models.setdefault(app_label, {}) 163 163 if model_name in model_dict: