diff options
| author | pp <pp@users.noreply.github.com> | 2016-01-10 17:48:16 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-11 18:05:15 -0500 |
| commit | b34ff66e5bae3760273255fa5b2525eb21a5eb63 (patch) | |
| tree | d3cf5e9ea9af2d34bc61122d6bf891553b55472f /django | |
| parent | 99d2469e75f1567cbe5ee753563edb68cd51d74a (diff) | |
Added missing period to "etc.".
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/backends/base/operations.py | 2 | ||||
| -rw-r--r-- | django/template/defaultfilters.py | 2 | ||||
| -rw-r--r-- | django/template/smartif.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/django/db/backends/base/operations.py b/django/db/backends/base/operations.py index 79572651c4..6e5aff19cd 100644 --- a/django/db/backends/base/operations.py +++ b/django/db/backends/base/operations.py @@ -227,7 +227,7 @@ class BaseDatabaseOperations(object): def lookup_cast(self, lookup_type, internal_type=None): """ Returns the string to use in a query when performing lookups - ("contains", "like", etc). The resulting string should contain a '%s' + ("contains", "like", etc.). The resulting string should contain a '%s' placeholder for the column being searched against. """ return "%s" diff --git a/django/template/defaultfilters.py b/django/template/defaultfilters.py index b164420016..71727208c3 100644 --- a/django/template/defaultfilters.py +++ b/django/template/defaultfilters.py @@ -842,7 +842,7 @@ def yesno(value, arg=None): def filesizeformat(bytes_): """ Formats the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB, - 102 bytes, etc). + 102 bytes, etc.). """ try: bytes_ = float(bytes_) diff --git a/django/template/smartif.py b/django/template/smartif.py index 906350897d..a3c1f37973 100644 --- a/django/template/smartif.py +++ b/django/template/smartif.py @@ -117,7 +117,7 @@ class Literal(TokenBase): """ # IfParser uses Literal in create_var, but TemplateIfParser overrides # create_var so that a proper implementation that actually resolves - # variables, filters etc is used. + # variables, filters etc. is used. id = "literal" lbp = 0 |
