mirror of
https://github.com/django/django.git
synced 2025-08-01 01:22:36 +00:00
Added unit tests to verify OneToOne deletion works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
db94402ea6
commit
10ca90a2fd
1 changed files with 3 additions and 0 deletions
|
@ -74,4 +74,7 @@ Demon Dogs the restaurant
|
|||
>>> w.save()
|
||||
>>> w
|
||||
Joe the waiter at Demon Dogs the restaurant
|
||||
|
||||
>>> r = restaurants.get_object(pk=1)
|
||||
>>> r.delete()
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue