Kaydet (Commit) 73766b1f authored tarafından Georg Bauer's avatar Georg Bauer

fixed debug view for templates so it starts counting with 1


git-svn-id: http://code.djangoproject.com/svn/django/trunk@1405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 798e6d56
......@@ -9,6 +9,7 @@ from os.path import dirname, join as pathjoin
HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD')
def linebreak_iter(template_source):
yield 0
p = template_source.find('\n')
while p >= 0:
yield p
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment