Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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: http://code.djangoproject.com/svn/django/trunk@9070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 060919afa165a9ad208ba0aace54756891bf0718 1 parent 7faa23d
Karen Tracey kmtracey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
2  django/contrib/admin/options.py
View
@@ -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)
obj.delete()
self.log_deletion(request, obj, obj_display)
Please sign in to comment.
Something went wrong with that request. Please try again.