Ticket #3808: typos.patch
File typos.patch, 1.1 KB (added by , 18 years ago) |
---|
-
middleware/cache.py
10 10 Only parameter-less GET or HEAD-requests with status code 200 are cached. 11 11 12 12 If CACHE_MIDDLEWARE_ANONYMOUS_ONLY is set to True, only anonymous requests 13 (i.e., those no demade by a logged-in user) will be cached. This is a13 (i.e., those not made by a logged-in user) will be cached. This is a 14 14 simple and effective way of avoiding the caching of the Django admin (and 15 15 any other user-specific content). 16 16 -
template/defaulttags.py
595 595 596 596 :: 597 597 598 {% if a lthlete_list %}599 Number of athletes: {{ a lthete_list|count }}598 {% if athlete_list %} 599 Number of athletes: {{ athlete_list|count }} 600 600 {% else %} 601 601 No athletes. 602 602 {% endif %}