summaryrefslogtreecommitdiff
path: root/django/utils/cache.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-11-01 21:29:39 -0400
committerTim Graham <timograham@gmail.com>2013-11-01 21:29:39 -0400
commit090315f5dfb9b0a6539daaec6cb88ad93e6e77af (patch)
tree9d0f3ee23a50a2b819cc15de88f85ce83a0c6b7d /django/utils/cache.py
parentede04f94bd0efe1fe9354c58b3a7ca918fd11ea6 (diff)
downloaddjango-090315f5dfb9b0a6539daaec6cb88ad93e6e77af.tar.gz
Fixed spelling ("dependant" -> "dependent")
Dependent means reliant on. A dependant is a person like a child or spouse. Thanks Andrew Wilcox for the report.
Diffstat (limited to 'django/utils/cache.py')
-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 375c34d7ad..f74056cafa 100644
--- a/django/utils/cache.py
+++ b/django/utils/cache.py
@@ -168,7 +168,7 @@ def _i18n_cache_key_suffix(request, cache_key):
cache_key += '.%s' % getattr(request, 'LANGUAGE_CODE', get_language())
if settings.USE_TZ:
# The datetime module doesn't restrict the output of tzname().
- # Windows is known to use non-standard, locale-dependant names.
+ # Windows is known to use non-standard, locale-dependent names.
# User-defined tzinfo classes may return absolutely anything.
# Hence this paranoid conversion to create a valid cache key.
tz_name = force_text(get_current_timezone_name(), errors='ignore')