summaryrefslogtreecommitdiff
path: root/django/db/models/loading.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-06-26 16:20:58 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-06-26 16:20:58 +0000
commit919df8b8c7b268105260a8d08d4308dc3cd34a25 (patch)
treecb8cbf27bf366f9f8793cf8163b42ba40b00bc21 /django/db/models/loading.py
parentd2b952377cd996dff1525564512a5f7bf4d3ef40 (diff)
Fixed another path where imports were creating two instances of a model's
class. Refs #1796, #2232. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/loading.py')
-rw-r--r--django/db/models/loading.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/db/models/loading.py b/django/db/models/loading.py
index 56e7d55652..10ff3bb8d8 100644
--- a/django/db/models/loading.py
+++ b/django/db/models/loading.py
@@ -73,7 +73,6 @@ def get_model(app_label, model_name):
Returns the model matching the given app_label and case-insensitive model_name.
Returns None if no model is found.
"""
- get_apps() # Run get_apps() to populate the _app_list cache. Slightly hackish.
try:
model_dict = _app_models[app_label]
except KeyError: