1
0
mirror of https://github.com/django/django.git synced 2025-06-08 21:19:13 +00:00

magic-removal: Changed breadcrumb on admin model docs page to use object_name, not verbose_name

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-21 22:45:06 +00:00
parent b4a454f956
commit 107f097a98

View File

@ -192,8 +192,8 @@ def model_detail(request, app_label, model_name):
})
return render_to_response('admin_doc/model_detail', {
'name': '%s.%s' % (opts.app_label, opts.module_name),
'summary': "Fields on %s objects" % opts.verbose_name,
'name': '%s.%s' % (opts.app_label, opts.object_name),
'summary': "Fields on %s objects" % opts.object_name,
'fields': fields,
}, context_instance=RequestContext(request))
model_detail = staff_member_required(model_detail)