diff --git a/tests/testapp/models/many_to_many.py b/tests/testapp/models/many_to_many.py index 70c0a5cc20..c26458cf06 100644 --- a/tests/testapp/models/many_to_many.py +++ b/tests/testapp/models/many_to_many.py @@ -67,15 +67,15 @@ True # If we delete a Publication, its Articles won't be able to access it. >>> p1.delete() ->>> publications.get_list() +>>> Publication.objects.get_list() [Science News] ->>> a1 = articles.get_object(pk=1) +>>> a1 = Article.objects.get_object(pk=1) >>> a1.get_publication_list() [] # If we delete an Article, its Publications won't be able to access it. >>> a2.delete() ->>> articles.get_list() +>>> Article.objects.get_list() [Django lets you build Web apps easily] >>> p1.get_article_list(order_by=['headline']) [Django lets you build Web apps easily] diff --git a/tests/testapp/models/subclassing.py b/tests/testapp/models/subclassing.py index 5e7c2c7bdb..6a7852d91d 100644 --- a/tests/testapp/models/subclassing.py +++ b/tests/testapp/models/subclassing.py @@ -173,8 +173,8 @@ datetime.date(2005, 8, 22) >>> ArticleWithChangedMeta.objects.get_list() [A, B, C] ->>> nomodulenamefirsts.get_list() +>>> NoModuleNameFirst.objects.get_list() [] ->>> nomodulenameseconds.get_list() +>>> NoModuleNameSecond.objects.get_list() [] """