Renamed __unicode__() to __str__() in some test comments.

This commit is contained in:
Tim Graham 2015-11-19 15:33:22 -05:00
parent db8763fb23
commit 65764a9316
3 changed files with 13 additions and 15 deletions

View file

@ -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.
"""