(py_db, frame)
| 460 | |
| 461 | |
| 462 | def can_skip(py_db, frame): |
| 463 | if py_db.django_breakpoints: |
| 464 | if _is_django_render_call(frame): |
| 465 | return False |
| 466 | |
| 467 | if py_db.django_exception_break: |
| 468 | module_name = frame.f_globals.get("__name__", "") |
| 469 | |
| 470 | if module_name == "django.template.base": |
| 471 | # Exceptions raised at django.template.base must be checked. |
| 472 | return False |
| 473 | |
| 474 | return True |
| 475 | |
| 476 | |
| 477 | is_tracked_frame = _is_django_render_call |
nothing calls this directly
no test coverage detected