mirror of
https://github.com/Hopiu/django.git
synced 2026-04-27 18:24:48 +00:00
Wrap the Parser.compile_filter method call with a try/except and call the newly added Parser.compile_filter_error(). Overwrite this method in the DebugParser to throw the correct error. Since this error was otherwise catched by the compile_function try/except block the debugger highlighted the wrong line. |
||
|---|---|---|
| .. | ||
| eggs | ||
| templates | ||
| templatetags | ||
| __init__.py | ||
| alternate_urls.py | ||
| callables.py | ||
| context.py | ||
| custom.py | ||
| filters.py | ||
| loaders.py | ||
| models.py | ||
| nodelist.py | ||
| parser.py | ||
| response.py | ||
| smartif.py | ||
| tests.py | ||
| unicode.py | ||
| urls.py | ||
| views.py | ||