summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-17 06:59:01 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-17 06:59:01 +0000
commit5d6f91e415d66251f70ac55960741429b560d204 (patch)
treed5ee27cffb1ece0ef9654df3095c14f090fe2d68 /docs
parentfc413b8f611677e51ea8c24e3b56a3716652a619 (diff)
Small typo fixes. Thanks, jdetaeye, Ionut Ciocirlan, David Reynolds and adamv.
Fixed #6123, #6133, #6179, #6194. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/custom_model_fields.txt4
-rw-r--r--docs/request_response.txt2
-rw-r--r--docs/templates_python.txt4
3 files changed, 5 insertions, 5 deletions
diff --git a/docs/custom_model_fields.txt b/docs/custom_model_fields.txt
index 80c9de7d16..923b331a95 100644
--- a/docs/custom_model_fields.txt
+++ b/docs/custom_model_fields.txt
@@ -44,8 +44,8 @@ Our class looks something like this::
# ... (other possibly useful methods omitted) ...
This is just an ordinary Python class, with nothing Django-specific about it.
-We'd like to be able to things like this in our models (we assume the ``hand``
-attribute on the model is an instance of ``Hand``)::
+We'd like to be able to do things like this in our models (we assume the
+``hand`` attribute on the model is an instance of ``Hand``)::
example = MyModel.objects.get(pk=1)
print example.hand.north
diff --git a/docs/request_response.txt b/docs/request_response.txt
index 2445b3e6b9..c8d6423841 100644
--- a/docs/request_response.txt
+++ b/docs/request_response.txt
@@ -452,7 +452,7 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in
``HttpResponseNotModified``
The constructor doesn't take any arguments. Use this to designate that a
- page hasn't been modified since the user's last request.
+ page hasn't been modified since the user's last request (status code 304).
``HttpResponseBadRequest``
**New in Django development version.**
diff --git a/docs/templates_python.txt b/docs/templates_python.txt
index 4865f65331..014a853a41 100644
--- a/docs/templates_python.txt
+++ b/docs/templates_python.txt
@@ -691,8 +691,8 @@ This way, you'll be able to pass, say, an integer to this filter, and it
won't cause an ``AttributeError`` (because integers don't have ``lower()``
methods).
-Registering a custom filters
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Registering custom filters
+~~~~~~~~~~~~~~~~~~~~~~~~~~
Once you've written your filter definition, you need to register it with
your ``Library`` instance, to make it available to Django's template language::