mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Merge pull request #595 from bmispelon/patch-1
Fixed a typo in WidthRatioNode.
This commit is contained in:
		| @@ -453,7 +453,7 @@ class WidthRatioNode(Node): | |||||||
|         except VariableDoesNotExist: |         except VariableDoesNotExist: | ||||||
|             return '' |             return '' | ||||||
|         except (ValueError, TypeError): |         except (ValueError, TypeError): | ||||||
|             raise TemplateSyntaxError("widthratio final argument must be an number") |             raise TemplateSyntaxError("widthratio final argument must be a number") | ||||||
|         try: |         try: | ||||||
|             value = float(value) |             value = float(value) | ||||||
|             max_value = float(max_value) |             max_value = float(max_value) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user