  from django.core.urlresolvers import reverse
  from django import template
  from django.contrib.admin.util import quote
  
  register = template.Library()
  
 
</s> remove         response['X-Object-Type'] = "%s.%s" % (model._meta.app_label, model._meta.object_name.lower())
 </s> add         response['X-Object-Type'] = "%s.%s" % (model._meta.app_label, model._meta.model_name) </s> remove     return '%s_%s' % (action, opts.object_name.lower())
 </s> add     return '%s_%s' % (action, opts.model_name) </s> remove     Helper to look up a model from an "app_label.module_name" string.
 </s> add     Helper to look up a model from an "app_label.model_name" string. </s> remove     return 'admin:%s_%s_%s' % (value.app_label, value.module_name, arg)
 </s> add     return 'admin:%s_%s_%s' % (value.app_label, value.model_name, arg)

  from django import template
  from django.contrib.admin.util import quote
  
  register = template.Library()
  
replace keep keep keep keep keep
 Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`. 
django/contrib/admin/templatetags/admin_urls.py