From 6b4095ad10fc4a422b5243b353f45b8fc44562b3 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 25 Sep 2005 21:57:32 +0000 Subject: [PATCH] Fixed small typo in docs/db-api.txt. Thanks, Rachel git-svn-id: http://code.djangoproject.com/svn/django/trunk@691 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/db-api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/db-api.txt b/docs/db-api.txt index 99876ec81e..4c49a2760f 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -437,8 +437,8 @@ of objects then calling save() on them:: ... expire_date=some_future_date) >>> p.save() -Calling ``save()`` on an object with an id if ``None`` signifies to -Django that the object is new and should be inserted. +Calling ``save()`` on an object with a primary key whose value is ``None`` +signifies to Django that the object is new and should be inserted. Related objects (e.g. ``Choices``) are created using convenience functions::