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

get_details() errors on booleans #27

Closed calebsmith closed 9 years ago

calebsmith commented 9 years ago

I've only seen this in a Python3 project. My suspicion is that the promotion of True/False to keywords changes the attributes they can be expected to have. Changing how these are handed in utils.py:get_details() should be sufficient to fix this. The fix should be fairly easy to test once tox is configured to run python3.X environments.

I can't recall if the error was an AttributeError exactly, but it should be easily reproducible.