diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-05-22 03:01:02 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-05-22 03:01:02 +0000 |
| commit | 0fc2a2c1a891a9729f99b550bca6334e97c0dce3 (patch) | |
| tree | 3155ce410af625fb3e0ce9a94e4ff0d4ea41a6bf /docs/db-api.txt | |
| parent | be57a7fd1a743672fb4bd682950674aa6823190d (diff) | |
Added 'Overriding default model methods' section to model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/db-api.txt')
| -rw-r--r-- | docs/db-api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt index e2173afe16..4442a75125 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -345,7 +345,7 @@ This is roughly equivalent to:: Entry.objects.order_by('headline')[0:1].get() -Note, however, that the first of these will raise ``IndexError`` while the +Note, however, that the first of these will raise ``IndexError`` while the second will raise ``DoesNotExist`` if no objects match the given criteria. QuerySet methods that return new QuerySets |
