mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
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
This commit is contained in:
parent
f053130f67
commit
6b4095ad10
@ -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::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user