Skip to content
Browse files

Slightly modified change [15698] to use ugettext_lazy since it's a mo…

…dule level variable. Refs #15524.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6b95aa6 commit a9ace1466d0a57a020fd1318378df474352ba27a @jezdez jezdez committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/admin/views/
4 django/contrib/admin/views/
@@ -5,7 +5,7 @@
from django.core.paginator import Paginator, InvalidPage
from django.db import models
from django.utils.encoding import force_unicode, smart_str
-from django.utils.translation import ugettext
+from django.utils.translation import ugettext, ugettext_lazy
from django.utils.http import urlencode
import operator
@@ -24,7 +24,7 @@
# Text to display within change-list table cells if the value is blank.
-EMPTY_CHANGELIST_VALUE = ugettext('(None)')
+EMPTY_CHANGELIST_VALUE = ugettext_lazy('(None)')
class ChangeList(object):
def __init__(self, request, model, list_display, list_display_links, list_filter, date_hierarchy, search_fields, list_select_related, list_per_page, list_editable, model_admin):

0 comments on commit a9ace14

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