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
Comment actions Permalink
Is the name gallery itself autocompled in your template? How is gallery defined in your view?

Please sign in to leave a comment.