Added some extra examples to many_to_many unit test

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

View File

@ -69,4 +69,11 @@ True
>>> p1.get_article_list(order_by=['headline']) >>> p1.get_article_list(order_by=['headline'])
[Django lets you build Web apps easily, NASA uses Python] [Django lets you build Web apps easily, NASA uses Python]
# If we delete an article, its publication won't be able to access it.
>>> a2.delete()
>>> articles.get_list()
[Django lets you build Web apps easily]
>>> p1.get_article_list(order_by=['headline'])
[Django lets you build Web apps easily]
""" """