From 1d3082249f9f839ee0db43c962c5cdd000f72c9f Mon Sep 17 00:00:00 2001 From: ANtlord Date: Sat, 18 Apr 2020 18:51:12 +0300 Subject: [PATCH] Debug information corrections. --- jedi/plugins/django.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jedi/plugins/django.py b/jedi/plugins/django.py index 8ebd73b4..0b518c00 100644 --- a/jedi/plugins/django.py +++ b/jedi/plugins/django.py @@ -85,7 +85,9 @@ def _infer_field(cls, field): else: return DjangoModelField(value, field).name - print('TODO: {}'.format(field)) + print('django plugin: fail to infer `{}` from class `{}`'.format( + field.string_name, cls.name.string_name, + )) def get_metaclass_filters(func):