calebsmith / django-template-debug

A small collection of template tags for debugging and introspecting templates
BSD 3-Clause "New" or "Revised" License
74 stars 11 forks source link

Add introspection tags using tracerlib #14

Open calebsmith opened 11 years ago

calebsmith commented 11 years ago

These might help with the following use cases, though others might be found:

  1. Locating the function name and file name of the view that is rendering the current template
  2. Locating the file name, line number and other information about callables available to the context
calebsmith commented 9 years ago

macropy also has a tracer that might prove useful for this idea