mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Renamed __unicode__() to __str__() in some test comments.
This commit is contained in:
@@ -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.
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user