diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2009-03-31 07:01:01 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2009-03-31 07:01:01 +0000 |
| commit | 7372ea159aa192757cc5383e6857c29ca2fc53c6 (patch) | |
| tree | 0fac8211109e3e785cd72d9a660dd45c5b5c3041 /docs/ref/models | |
| parent | 184ea1c91f06d31d0e1d34b2c27c08b01d2d5033 (diff) | |
Fixed #10389, #10501, #10502, #10540, #10562, #10563, #10564, #10565, #10568, #10569, #10614, #10617, #10619 -- Fixed several typos as well as a couple minor issues in the docs, patches from timo, nih, bthomas, rduffield, UloPe, and sebleier@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/instances.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index f55ce65699..5e7151a89c 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -18,12 +18,13 @@ Throughout this reference we'll use the :ref:`example weblog models Creating objects ================ -To create a new instance of a model, just instantiate it like any other Python class: +To create a new instance of a model, just instantiate it like any other Python +class: .. class:: Model(**kwargs) -The keyword arguments to are simply the names of the fields you've defined on -your model. Note that instantiating a model in no way touches your database; for +The keyword arguments are simply the names of the fields you've defined on your +model. Note that instantiating a model in no way touches your database; for that, you need to ``save()``. Saving objects |
