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
This commit is contained in:
Adrian Holovaty 2007-03-25 18:05:01 +00:00
parent ae7568b9c6
commit 6481cf43f9
2 changed files with 3 additions and 3 deletions

View File

@ -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).

View File

@ -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 %}