From 65764a9316b196006d4f0ee2cac773369805e56c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 19 Nov 2015 15:33:22 -0500 Subject: Renamed __unicode__() to __str__() in some test comments. --- tests/admin_views/admin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/admin_views/admin.py') diff --git a/tests/admin_views/admin.py b/tests/admin_views/admin.py index 0da6126c01..2db28c6f51 100644 --- a/tests/admin_views/admin.py +++ b/tests/admin_views/admin.py @@ -508,8 +508,7 @@ class CoverLetterAdmin(admin.ModelAdmin): """ A ModelAdmin with a custom get_queryset() method that uses defer(), to test verbose_name display in messages shown after adding/editing CoverLetter - instances. - Note that the CoverLetter model defines a __unicode__ method. + instances. Note that the CoverLetter model defines a __str__ method. For testing fix for ticket #14529. """ @@ -545,8 +544,7 @@ class TelegramAdmin(admin.ModelAdmin): """ A ModelAdmin with a custom get_queryset() method that uses only(), to test verbose_name display in messages shown after adding/editing Telegram - instances. - Note that the Telegram model defines a __unicode__ method. + instances. Note that the Telegram model defines a __str__ method. For testing fix for ticket #14529. """ -- cgit v1.3