Added some extra examples to many_to_many unit test

git-svn-id: http://code.djangoproject.com/svn/django/trunk@444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-09 22:53:43 +00:00
parent b888113f49
commit 741109f440
1 changed files with 6 additions and 0 deletions

View File

@ -63,4 +63,10 @@ True
>>> a2.get_publication_list() >>> a2.get_publication_list()
[The Python Journal, Science News] [The Python Journal, Science News]
# Publication objects have access to their related Article objects.
>>> p2.get_article_list()
[NASA uses Python]
>>> p1.get_article_list(order_by=['headline'])
[Django lets you build Web apps easily, NASA uses Python]
""" """