Ticket #16862: django.contrib.admin.util.py.diff
File django.contrib.admin.util.py.diff, 609 bytes (added by , 13 years ago) |
---|
-
(a) D:/Temp/util.p-revBASE.svn001.tmp.py vs. (b) E:/Program
a b 88 88 None, (quote(obj._get_pk_val()),)) 89 89 p = '%s.%s' % (opts.app_label, 90 90 opts.get_delete_permission()) 91 if not user.has_perm(p ):91 if not user.has_perm(p, obj): 92 92 perms_needed.add(opts.verbose_name) 93 93 # Display a link to the admin page. 94 94 return mark_safe(u'%s: <a href="%s">%s</a>' %