Type hint not reaching django template

I have:

return render(request, 'gallery.html', {'gallery': gallery})


In the view, gallery.show_<tab> brings up gallery.show_map.
In gallery.html gallery.show_<tab> brings up gallery.view

How can I make pycharm understand the variables passed to the template?
1 comment
Is the name gallery itself autocompled in your template? How is gallery defined in your view?
0

Please sign in to leave a comment.