Skip to content
Browse files

Fixed #9129 -- Restored a force_unicode that was lost when unicode ch…

…anges were merged to newforms-admin. Thanks Ricardo & Ramiro.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 7faa23d commit 060919afa165a9ad208ba0aace54756891bf0718 @kmtracey kmtracey committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/
2 django/contrib/admin/
@@ -680,7 +680,7 @@ def delete_view(self, request, object_id, extra_context=None):
if request.POST: # The user has already confirmed the deletion.
if perms_needed:
raise PermissionDenied
- obj_display = str(obj)
+ obj_display = force_unicode(obj)
self.log_deletion(request, obj, obj_display)

0 comments on commit 060919a

Please sign in to comment.
Something went wrong with that request. Please try again.