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:
parent
c9151bcba1
commit
41c30f2fb8
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue