PyCharm 2016.3 does not auto-detect the templates in my apps' templates folders.
This is an especially strange and frustrating issue, because the problem isn't that PyCharm is failing to detect my templates folders. I spent the last several hours figuring out how to make it do that (turns out your settings.py file has to be writable by PyCharm, for some odd reason).
No, it's detecting the templates folders just fine, as seen in "Show Structure" dialog displayed in the attached screenshot. It's just failing to detect their contents. It still complains about the template files not being found, as seen with the highlighted template file names in the left and right code panels, which indicates an inspection error. This despite the fact that you can clearly see that those highlighted template files do exist, as seen in the project explorer panel on the left.
The only thing I can think of that could maybe be related is that the "template folders" listing is a bit confused. It's showing /src/workspace for the local project's parent folder, but /Users/REDACTED/dev/workspace for the wagtail library's parent folder. They're both actually in the same folder, though. /src/workspace is a symlink.
I also have multiple django projects loaded into my PyCharm window, which could maybe be an issue? I've removed the "Enable Django Support" checkbox from all of them, though, since that was clearly interfering with the Show Structure dialog.
I've tried invalidating my cache and restarting PyCharm (numerous times with various settings tweaks), but nothing has worked. I'm really hoping someone here can help me fix this.

Please sign in to leave a comment.
Hello.
PyCharm does not require ``settings.py`` to be writable.
Try to click CTRL+SPACE in string literal where template path is situated. Does it suggest you anything? PyCharm has several issues with symlinks, you may be faced one of them.
Please contact PyCharm support (pycharm-support@jetbrains.com) providing project to reproduce to help us investigate this issue further.
I ran into a major debugging problem with PyCharm yesterday, which I eventually tracked down to that issue you mentioned with symlinks. Once I re-configured my project to think of itself as having the absolute path to its root, rather than the symlinked path I've used for years in other tools, debugging stopped being an exercise in frustration.
And after you mentioned symlinks, I went back into my settings.py files to make them work right with PyCharm (PyCharm doesn't recognize your templates folders if your TEMPLATES setting is using django.template.loaders.cached.Loader, so I had to tweak the settings a bit). And now, everything works!
It's really, really nice having the ability to cmd-click a template name in an {% include %} tag, and to have that template file open. I just wish it hadn't taken me 5+ hours of hair-pulling frustration to figure out why it wasn't working despite being configured correctly. You guys have really gotta lick this symlink problem.
I have a similar issue. My team is still using 2016.2.3 as updating to 2016.3 didn't work. Pycharm fails to detect template paths. Unlike the original poster Pycharm also shows no template paths in the Django Structure overview.
When manually marking a folder as a template folder in the project structure the folder marking is not remembered. Next time opening the structure overview the allocation as a template folder is not there anymore.
With the release of 2016.3.2 I hoped it to be solved, but it isn't. This is a show stopper for us as it means PyCharm can no longer aid us as it fails to understand our project layout. In 2016.2 we have no issues and everything works out of the box.
Can anybody help us figure out what it is we're doing wrong?