I upgraded my Pycharm Professional to the latest version today, after upgrade the editor could not find my html files no more if they are placed into a class based view, as "template_name" variable.
return render(request, 'index.html'
Is displaying the link on the side correctly, and brings me to the file with ctrl+click.
model = models.Item
template_name = 'warehouse_form.html'
form_class = forms.ItemForm
Is not finding the warehouse_form.html file it was before the upgrade.
Django support is enabled. Template folder is correctly marked and correctly shows up pink in the editor.
I tried to "invalidate caches and restart", reload all project files from disk and to delete the whole .idea folder and reset the editor (this last try led to all projet files being shown as yellow and all the Django configuration go nuts).
Template folder is also mapped on Project: MyProject > Project Structure.