6

Is there any tool out there that would take a directory with a Django application, scan it for templates and draw/print/list a hierarchy of inheritance between templates?

Seeing which blocks are being overridden at every level would be an especially helpful feature in such a tool.

Tommalla
  • 297
  • 1
  • 2
  • 10
  • 2
    I've asked a similar question, the short answer is no: http://stackoverflow.com/questions/4954500/is-there-a-tool-for-django-project-structure-information-flow-visualization – Dennis Golomazov Jul 28 '16 at 21:50
  • Not at this moment, no. I've been working on something similar but due to work pressures I could never finish it. – Chris vCB Oct 24 '16 at 21:27

1 Answers1

1

Old question but FWIW there is (or was) django-template-graph that should work with Django 1.7.

It doesn't (yet) work with Django 1.8+ when the template logic changed a bit so it needs to be patched, I opened an issue for that and will probably release a fix soon.

benebun
  • 185
  • 1
  • 10
  • Note that I'm not the owner of django-template-graph. I haven't gotten around to fix it yet, so there's no pull request yet. – benebun Dec 16 '16 at 13:28