Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Negligible spacing change to django/db/models/loading.py

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 127a3f002d1dd0e27ac978fb17bd21aedca000ce 1 parent 0d14498
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/models/loading.py
View
4 django/db/models/loading.py
@@ -15,7 +15,7 @@
_app_errors = {} # Dictionary of errors that were experienced when loading the INSTALLED_APPS
# Key is the app_name of the model, value is the exception that was raised
# during model loading.
-_loaded = False # Has the contents of settings.INSTALLED_APPS been loaded?
+_loaded = False # Has the contents of settings.INSTALLED_APPS been loaded?
# i.e., has get_apps() been called?
def get_apps():
@@ -60,7 +60,7 @@ def get_app_errors():
global _app_errors
get_apps() # Run get_apps() to populate the _app_list cache. Slightly hackish.
return _app_errors
-
+
def get_models(app_mod=None):
"""
Given a module containing models, returns a list of the models. Otherwise
Please sign in to comment.
Something went wrong with that request. Please try again.