          return model_list
  
  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.
      """
      try:
          model_dict = _app_models[app_label]
      except KeyError:
 
</s> remove def get_model(app_label, model_name):
 </s> add def get_model(app_label, model_name, seed_cache = True): </s> remove         return get_model(new_class._meta.app_label, name)
 </s> add         return get_model(new_class._meta.app_label, name, False) </s> remove         m = get_model(new_class._meta.app_label, name)
 </s> add         m = get_model(new_class._meta.app_label, name, False)
    Returns the model matching the given app_label and case-insensitive
    model_name.

          return model_list
  
  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.
      """
      try:
          model_dict = _app_models[app_label]
      except KeyError:
keep keep keep keep replace keep keep keep keep keep
 Seed the global app cache in a call to db.models.get_model() except when we are
constructing a model class. Refs #2348.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3490 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/db/models/loading.py