mirror of
https://github.com/Hopiu/django.git
synced 2026-03-27 19:30:24 +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. |
||
|---|---|---|
| .. | ||
| modeltests | ||
| regressiontests | ||
| templates | ||
| .coveragerc | ||
| runtests.py | ||
| test_sqlite.py | ||
| urls.py | ||