summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-03-25 18:05:01 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-03-25 18:05:01 +0000
commit6481cf43f98d3fdc45a3c5a1f2f366b88417d4cb (patch)
tree34ba4f4cf323f07b4276c0b6d05d563340a0520d
parentae7568b9c6ed790dca6a3c24c489fb15442e2be4 (diff)
Fixed #3808 -- Fixed some typos in comments. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/middleware/cache.py2
-rw-r--r--django/template/defaulttags.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/django/middleware/cache.py b/django/middleware/cache.py
index 58800b24da..a88b4956b2 100644
--- a/django/middleware/cache.py
+++ b/django/middleware/cache.py
@@ -10,7 +10,7 @@ class CacheMiddleware(object):
Only parameter-less GET or HEAD-requests with status code 200 are cached.
If CACHE_MIDDLEWARE_ANONYMOUS_ONLY is set to True, only anonymous requests
- (i.e., those node made by a logged-in user) will be cached. This is a
+ (i.e., those not made by a logged-in user) will be cached. This is a
simple and effective way of avoiding the caching of the Django admin (and
any other user-specific content).
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py
index b18fa1dce7..ed11f2c1ae 100644
--- a/django/template/defaulttags.py
+++ b/django/template/defaulttags.py
@@ -595,8 +595,8 @@ def do_if(parser, token):
::
- {% if althlete_list %}
- Number of athletes: {{ althete_list|count }}
+ {% if athlete_list %}
+ Number of athletes: {{ athlete_list|count }}
{% else %}
No athletes.
{% endif %}