#2645 closed defect (fixed)
[patch] template error handler has an error
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Template system | Version: | dev |
| Severity: | normal | Keywords: | |
| Cc: | md@… | Triage Stage: | Unreviewed |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
django/template/init.py (revision 3709) arroundline 439 has a little typo resulting in broken error handling. This is the fix:
- raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % subject + raise TemplateSyntaxError, "Searching for value. Unexpected end of string in column %d: %s" % (i, subject)
You can get a real diff at http://c0re.23.nu/c0de/misc/django-3709-template-error-error.diff
Regards
Maximillian Dornseif
Note:
See TracTickets
for help on using tickets.
(In [3720]) Fixed #2645 -- Fixed format-string error in exception call in template/init.py. Thanks for the patch, md@…