Code

Ticket #5661: patch_rev6442_unicode.diff

File patch_rev6442_unicode.diff, 450 bytes (added by pigletto, 7 years ago)
Line 
1Index: django/contrib/admin/util.py
2===================================================================
3--- django/contrib/admin/util.py        (wersja 6442)
4+++ django/contrib/admin/util.py        (kopia robocza)
5@@ -3,6 +3,7 @@
6 from django.utils.html import escape
7 from django.utils.text import capfirst
8 from django.utils.encoding import force_unicode
9+from django.utils.translation import ugettext as _
10 
11 def _nest_help(obj, depth, val):
12     current = obj