diff options
| author | Tim Graham <timograham@gmail.com> | 2013-11-01 21:29:39 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-11-01 21:32:05 -0400 |
| commit | 33503c57ef369f07dd6a3a33ecf5cdd3fbbd0a6b (patch) | |
| tree | 6649fc4c028e6af2c375fa115edd42573ff220cc /django | |
| parent | 35fd14cf42f5461520e755da7bad4d4629ea26bc (diff) | |
[1.6.x] Fixed spelling ("dependant" -> "dependent")
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
Backport of 090315f5df from master
Diffstat (limited to 'django')
| -rw-r--r-- | django/utils/cache.py | 2 | ||||
| -rw-r--r-- | django/utils/feedgenerator.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/cache.py b/django/utils/cache.py index 917949d4d3..1c8587dc5d 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') diff --git a/django/utils/feedgenerator.py b/django/utils/feedgenerator.py index fee8e17865..13708d49ad 100644 --- a/django/utils/feedgenerator.py +++ b/django/utils/feedgenerator.py @@ -33,7 +33,7 @@ from django.utils.six.moves.urllib.parse import urlparse from django.utils.timezone import is_aware def rfc2822_date(date): - # We can't use strftime() because it produces locale-dependant results, so + # We can't use strftime() because it produces locale-dependent results, so # we have to map english month and day names manually months = ('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec',) days = ('Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun') |
