Loading django/db/backends/base/operations.py +1 −1 Original line number Diff line number Diff line Loading @@ -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" Loading django/template/defaultfilters.py +1 −1 Original line number Diff line number Diff line Loading @@ -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_) Loading django/template/smartif.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading docs/howto/custom-model-fields.txt +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ something like this:: """A hand of cards (bridge style)""" def __init__(self, north, east, south, west): # Input parameters are lists of cards ('Ah', '9s', etc) # Input parameters are lists of cards ('Ah', '9s', etc.) self.north = north self.east = east self.south = south Loading docs/internals/contributing/committing-code.txt +1 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,7 @@ When a mistaken commit is discovered, please follow these guidelines: * If the original author can't be reached (within a reasonable amount of time -- a day or so) and the problem is severe -- crashing bug, major test failures, etc -- then ask for objections on the major test failures, etc. -- then ask for objections on the |django-developers| mailing list then revert if there are none. * If the problem is small (a feature commit after feature freeze, Loading Loading
django/db/backends/base/operations.py +1 −1 Original line number Diff line number Diff line Loading @@ -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" Loading
django/template/defaultfilters.py +1 −1 Original line number Diff line number Diff line Loading @@ -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_) Loading
django/template/smartif.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/howto/custom-model-fields.txt +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ something like this:: """A hand of cards (bridge style)""" def __init__(self, north, east, south, west): # Input parameters are lists of cards ('Ah', '9s', etc) # Input parameters are lists of cards ('Ah', '9s', etc.) self.north = north self.east = east self.south = south Loading
docs/internals/contributing/committing-code.txt +1 −1 Original line number Diff line number Diff line Loading @@ -221,7 +221,7 @@ When a mistaken commit is discovered, please follow these guidelines: * If the original author can't be reached (within a reasonable amount of time -- a day or so) and the problem is severe -- crashing bug, major test failures, etc -- then ask for objections on the major test failures, etc. -- then ask for objections on the |django-developers| mailing list then revert if there are none. * If the problem is small (a feature commit after feature freeze, Loading