autocomplete contexts of django views in templates
Answered
Hello,
I came across a problem in Pycharm where it doesn't autocomplete any view's context that being used in templates. I already setup templates directories of the project, but i don't know why it doesn't work.
Thanks
Please sign in to leave a comment.
Hi Mazen, could you provide an example? Please feel free to create a ticket in PyCharm's bug tracker https://youtrack.jetbrains.com/issues/PY
Hello, the same thing happens to me. If instead of having all the views in the same file I separate them. When I write in templates the context autocomplete doesn't work.
I followed the steps of stack overflow
EDIT: it's diferent because I want to make one more subfolder.
views:
__init__.py
a
a_views.py
b
b_views.py