summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2008-08-15 16:38:41 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2008-08-15 16:38:41 +0000
commit90c67e0f55800ec3ffbb05c5e90c28ccfa9234d4 (patch)
treefe86c2e6a81614ae077bc752d61411822478fff6
parent0d48087a53c84eb109f6c85472530899dfc94fc8 (diff)
Fixed typo in comment.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/utils/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/cache.py b/django/utils/cache.py
index 78063c6b11..9c566ae099 100644
--- a/django/utils/cache.py
+++ b/django/utils/cache.py
@@ -64,7 +64,7 @@ def patch_cache_control(response, **kwargs):
cc = {}
# If there's already a max-age header but we're being asked to set a new
- # max-age, use the minumum of the two ages. In practice this happens when
+ # max-age, use the minimum of the two ages. In practice this happens when
# a decorator and a piece of middleware both operate on a given view.
if 'max-age' in cc and 'max_age' in kwargs:
kwargs['max_age'] = min(cc['max-age'], kwargs['max_age'])