Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 73766b1f8890a90013dc16560aa7329bdfe734a3 1 parent 798e6d5
Georg Bauer authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/views/debug.py
View
1  django/views/debug.py
@@ -9,6 +9,7 @@
HIDDEN_SETTINGS = re.compile('SECRET|PASSWORD')
def linebreak_iter(template_source):
+ yield 0
p = template_source.find('\n')
while p >= 0:
yield p

0 comments on commit 73766b1

Please sign in to comment.
Something went wrong with that request. Please try again.