Code

Ticket #7044: loading_typo.diff

File loading_typo.diff, 583 bytes (added by msaelices, 6 years ago)
Line 
1Index: django/db/models/loading.py
2===================================================================
3--- django/db/models/loading.py (revisión: 7438)
4+++ django/db/models/loading.py (copia de trabajo)
5@@ -157,7 +157,7 @@
6         """
7         for model in models:
8             # Store as 'name: model' pair in a dictionary
9-            # in the _app_models dictionary
10+            # in the app_models dictionary
11             model_name = model._meta.object_name.lower()
12             model_dict = self.app_models.setdefault(app_label, {})
13             if model_name in model_dict: