How to find templates that are never executed?
See original GitHub issueWith .py files, --source
will find files that were never even executed once. What’s the equivalent for template files?
Issue Analytics
- State:
- Created 9 years ago
- Reactions:1
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Django templates not executed in a container and no errors ...
You have defined header and footer by never used them inside a template. Try below approach, you can extends how you want it...
Read more >Finding Errors - Ultradox
Is Ultradox not generating your documents due to errors in your templates? This guide described techniques how to find the root cause of ......
Read more >SQL Server Profiler Templates - Microsoft Learn
Learn about the predefined templates SQL Server Profiler provides and how to use them. See how to create user-defined templates and change ...
Read more >Running classic templates | Cloud Dataflow
Select Custom Template from the Dataflow template drop-down menu. Custom Template Execution Form; Enter a job name in the Job Name field. Enter ......
Read more >Angular: DON'T Call Functions Inside The Template Anymore
A possible workaround is to avoid template function calls with complicated computation.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1 to fix this issue and +1 for every file in TEMPLATES[‘DIRS’] can be considered a template file. (people can use omit if they put non-templates in there.)
fyi, I still cannot get this plugin configured to pick up a single template.
I can’t speak for every project, but for ours, every file in TEMPLATE_DIRS is a template.
One could add optional settings for: (a) template_extensions (defaults to .*, but for most of us it will be .html) (b) If you open a file, parse it, and there’s no template language (e.g. ‘{%’ or ‘{{’), it’s not a template
But I think treating the TEMPLATE_DIRS as containing all templates will be good enough.