Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #7044 -- Corrected a minor typo in a docstring in the model loa…

…der. Thanks, msaelices.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e829e9ff8f41ee94ca12c1cbbc0c7aaf45706aec 1 parent 6d242cc
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/loading.py
View
2  django/db/models/loading.py
@@ -157,7 +157,7 @@ def register_models(self, app_label, *models):
"""
for model in models:
# 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_dict = self.app_models.setdefault(app_label, {})
if model_name in model_dict:
Please sign in to comment.
Something went wrong with that request. Please try again.