diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-21 02:34:05 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-21 02:34:05 +0000 |
| commit | 10ca90a2fd4a6e22d034e33e736ea2a2b21967c9 (patch) | |
| tree | b0793dee4e54df13dff87fcf4db453ea9c9835be | |
| parent | db94402ea69fb3ba14288441cd28938c568586f5 (diff) | |
Added unit tests to verify OneToOne deletion works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | tests/testapp/models/one_to_one.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testapp/models/one_to_one.py b/tests/testapp/models/one_to_one.py index 5b384aa82b..b8f68836b3 100644 --- a/tests/testapp/models/one_to_one.py +++ b/tests/testapp/models/one_to_one.py @@ -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() """ |
