summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-08-08 21:17:59 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-08-08 21:17:59 +0000
commitd9d44d718b5aa2c8e5e227c9df51cda56c1101be (patch)
treec162bc443a10206bb5d2ff9945e550e36c6ab06a
parent284bf1cf7d099fb75afa56a7d7a8952e093d612f (diff)
downloaddjango-d9d44d718b5aa2c8e5e227c9df51cda56c1101be.tar.gz
Negligible style change in django.db.models.loading
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/models/loading.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/models/loading.py b/django/db/models/loading.py
index ece41ed6e4..22f83bfd78 100644
--- a/django/db/models/loading.py
+++ b/django/db/models/loading.py
@@ -32,7 +32,7 @@ def get_apps():
_app_errors[app_name] = e
return _app_list
-def get_app(app_label, emptyOK = False):
+def get_app(app_label, emptyOK=False):
"Returns the module containing the models for the given app_label. If the app has no models in it and 'emptyOK' is True, returns None."
get_apps() # Run get_apps() to populate the _app_list cache. Slightly hackish.
for app_name in settings.INSTALLED_APPS:
@@ -75,7 +75,7 @@ def get_models(app_mod=None):
model_list.extend(get_models(app_mod))
return model_list
-def get_model(app_label, model_name, seed_cache = True):
+def get_model(app_label, model_name, seed_cache=True):
"""
Returns the model matching the given app_label and case-insensitive
model_name.