mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed spelling ("dependant" -> "dependent")
Dependent means reliant on. A dependant is a person like a child or spouse. Thanks Andrew Wilcox for the report.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user