MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / _is_django_context_get_call

Function _is_django_context_get_call

pydevd_plugins/django_debug.py:211–221  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

209
210
211def _is_django_context_get_call(frame):
212 try:
213 if "self" not in frame.f_locals:
214 return False
215
216 cls = frame.f_locals["self"].__class__
217
218 return _inherits(cls, "BaseContext")
219 except:
220 pydev_log.exception()
221 return False
222
223
224def _is_django_resolve_call(frame):

Callers 1

cmd_step_intoFunction · 0.85

Calls 2

_inheritsFunction · 0.85
exceptionMethod · 0.80

Tested by

no test coverage detected