django-stubs
django-stubs copied to clipboard
django-stubs package is reason for "Unresolved tag" errors in PyCharm
Bug report
What's wrong
Looks like presence django-stubs package breaks PyCharm tag resolving mechanism for Django templates.

Literally, all Django template tags (built-in or custom) become unresolved and the only way to fix it – remove django-stubs package .
This is a huge thread from JetBrains tech support site about this problem. https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003433179-Pycharm-suddenly-not-detecting-ANY-Django-tags-in-template
How is that should be
I believe, stubs package shouldn't break the base mechanisms for one of the most popular Python IDE.
System information
- OS: MacOS 11.1
pythonversion: 3.9djangoversion: Anymypyversion: 0.790django-stubsversion: 1.7.0PyCharmversion: 2020.3