Author: adrian
Date: 2006-08-08 16:17:59 -0500 (Tue, 08 Aug 2006)
New Revision: 3539
Modified:
django/trunk/django/db/models/loading.py
Log:
Negligible style change in django.db.models.loading
Modified: django/trunk/django/db/models/loading.py
===================================================================
--- django/trunk/django/db/models/loading.py 2006-08-08 15:03:01 UTC (rev
3538)
+++ django/trunk/django/db/models/loading.py 2006-08-08 21:17:59 UTC (rev
3539)
@@ -32,7 +32,7 @@
_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 @@
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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---