1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Added missing period to "etc.".

This commit is contained in:
pp
2016-01-10 17:48:16 +01:00
committed by Tim Graham
parent 99d2469e75
commit b34ff66e5b
16 changed files with 17 additions and 17 deletions

View File

@@ -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"

View File

@@ -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_)

View File

@@ -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