summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-04-22 14:08:31 +0000
committerRamiro Morales <cramm0@gmail.com>2011-04-22 14:08:31 +0000
commit13cfdb0d8b31997efbb0f413c69da304a5c73044 (patch)
tree2294b2b9d0fc5d53ae83bfe12e69f1c0c79f4427 /docs/topics
parentabc1e92d852940a24c4343a7969bd381bb432fe0 (diff)
Fixed a couple of small documentation typos.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/db/queries.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 130f378c90..8b8ea6083d 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -75,7 +75,7 @@ The ``save()`` method has no return value.
``save()`` takes a number of advanced options not described here.
See the documentation for ``save()`` for complete details.
- To create an object and save it all in one step see the ```create()```
+ To create an object and save it all in one step see the ``create()``
method.
Saving changes to objects
@@ -572,7 +572,7 @@ issue the query::
For date and date/time fields, you can add or subtract a ``datetime.timedelta``
object. The following would return all entries that were modified more than 3 days
after they were published::
-
+
>>> from datetime import timedelta
>>> Entry.objects.filter(mod_date__gt=F('pub_date') + timedelta(days=3))