Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored September 18, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/options.py
2  django/contrib/admin/options.py
@@ -680,7 +680,7 @@ def delete_view(self, request, object_id, extra_context=None):
680 680
         if request.POST: # The user has already confirmed the deletion.
681 681
             if perms_needed:
682 682
                 raise PermissionDenied
683  
-            obj_display = str(obj)
  683
+            obj_display = force_unicode(obj)
684 684
             obj.delete()
685 685
             
686 686
             self.log_deletion(request, obj, obj_display)

0 notes on commit 060919a

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