diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/databases.txt | 4 | ||||
| -rw-r--r-- | docs/ref/models/instances.txt | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index acb152df68..d0ab9adae2 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -19,8 +19,8 @@ MySQL notes =========== Django expects the database to support transactions, referential integrity, -and Unicode support (UTF-8 encoding). Fortunately, MySQL_ has all these -features as available as far back as 3.23. While it may be possible to use +and Unicode (UTF-8 encoding). Fortunately, MySQL_ has all these +features available as far back as 3.23. While it may be possible to use 3.23 or 4.0, you'll probably have less trouble if you use 4.1 or 5.0. MySQL 4.1 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 |
