Fixed #7044 -- Corrected a minor typo in a docstring in the model loader. Thanks, msaelices.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2008-06-17 13:58:19 +00:00
parent 6d242ccc63
commit e829e9ff8f
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class AppCache(object):
""" """
for model in models: for model in models:
# Store as 'name: model' pair in a dictionary # Store as 'name: model' pair in a dictionary
# in the _app_models dictionary # in the app_models dictionary
model_name = model._meta.object_name.lower() model_name = model._meta.object_name.lower()
model_dict = self.app_models.setdefault(app_label, {}) model_dict = self.app_models.setdefault(app_label, {})
if model_name in model_dict: if model_name in model_dict: