mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	Fixed #12981 -- Removed some stray tabs. Thanks to loewis for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -99,10 +99,10 @@ class FormPreview(object): | |||||||
|  |  | ||||||
|     def process_preview(self, request, form, context): |     def process_preview(self, request, form, context): | ||||||
|         """ |         """ | ||||||
|  	Given a validated form, performs any extra processing before displaying |         Given a validated form, performs any extra processing before displaying | ||||||
|  	the preview page, and saves any extra data in context. |         the preview page, and saves any extra data in context. | ||||||
|  	""" |         """ | ||||||
|  	pass |         pass | ||||||
|  |  | ||||||
|     def security_hash(self, request, form): |     def security_hash(self, request, form): | ||||||
|         """ |         """ | ||||||
|   | |||||||
| @@ -432,7 +432,7 @@ class TokenParser(object): | |||||||
|                         i += 1 |                         i += 1 | ||||||
|                     if i >= len(subject): |                     if i >= len(subject): | ||||||
|                         raise TemplateSyntaxError("Searching for value. Unexpected end of string in column %d: %s" % (i, subject)) |                         raise TemplateSyntaxError("Searching for value. Unexpected end of string in column %d: %s" % (i, subject)) | ||||||
|             	i += 1 |                 i += 1 | ||||||
|             return i |             return i | ||||||
|  |  | ||||||
|         if i >= len(subject): |         if i >= len(subject): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user