mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Renamed __unicode__() to __str__() in some test comments.
This commit is contained in:
parent
db8763fb23
commit
65764a9316
3 changed files with 13 additions and 15 deletions
|
@ -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.
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue