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 /docs | |
| 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 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 2 | ||||
| -rw-r--r-- | docs/topics/i18n/translation.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index c579cb489a..6a3a6bd58b 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2015,7 +2015,7 @@ Formats a time according to the given format. Given format can be the predefined one :setting:`TIME_FORMAT`, or a custom format, same as the :tfilter:`date` filter. Note that the predefined format -is locale-dependant. +is locale-dependent. The time filter will only accept parameters in the format string that relate to the time of day, not the date (for obvious reasons). If you need to diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 041d627bad..77a02988b1 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -991,8 +991,8 @@ for a given version of a site — it's a good candidate for caching. Server-side caching will reduce CPU load. It's easily implemented with the :func:`~django.views.decorators.cache.cache_page` decorator. To trigger cache -invalidation when your translations change, provide a version-dependant key -prefix, as shown in the example below, or map the view at a version-dependant +invalidation when your translations change, provide a version-dependent key +prefix, as shown in the example below, or map the view at a version-dependent URL. .. code-block:: python |
