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:
		| @@ -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" | ||||
|   | ||||
| @@ -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_) | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user