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

Make a tag like details, but only showing the list of available attributes (and not their values) #12

Closed calebsmith closed 11 years ago

calebsmith commented 11 years ago

This would essentially be the same thing as taking the dictionary returned by the details tag and using .keys(). Thiis tag provides the user with cleaner output, much like dir() in a python shell.

As an added benefit, this feature should help factor out the logic in get_details that excludes attributes that are not available inside of templates.