(frame)
| 222 | |
| 223 | |
| 224 | def _is_django_resolve_call(frame): |
| 225 | try: |
| 226 | name = frame.f_code.co_name |
| 227 | if name != "_resolve_lookup": |
| 228 | return False |
| 229 | |
| 230 | if "self" not in frame.f_locals: |
| 231 | return False |
| 232 | |
| 233 | cls = frame.f_locals["self"].__class__ |
| 234 | |
| 235 | clsname = cls.__name__ |
| 236 | return clsname == "Variable" |
| 237 | except: |
| 238 | pydev_log.exception() |
| 239 | return False |
| 240 | |
| 241 | |
| 242 | def _is_django_suspended(thread): |
no test coverage detected