magic-removal: removed redundant pointless method call.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7662520667
commit
b19eef14ed
|
@ -47,8 +47,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() # initialise
|
||||
|
||||
try:
|
||||
model_dict = _app_models[app_label]
|
||||
except KeyError:
|
||||
|
|
Loading…
Reference in New Issue