Answer the question
In order to leave comments, you need to log in
Is there any way I can make PyCharm suggest/autocomplete model properties in Django templates?
Good afternoon!
Can you please tell me if there is a way to make PyCharm suggest/auto-complete model properties in Django templates?
For example, so that in the following code it complements thing.id and thing.name?
<div>
<h2>Мои штуки</h2>
<ul>
{% for thing in things %}
<li>
<a href="{% url 'main.views.thing' id=thing.id %}">
{{ thing.name }}
</a>
</li>
{% endfor %}
</ul>
</div>
Answer the question
In order to leave comments, you need to log in
In PHPStorm, this is easy to do, it is enough to write phpdoc from above. And how to be here?phpdoc in twig (similar to django templates)? There is no such thing ;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question