-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I've been using django-template-debug with the Wagtail CMS, and I'm getting unexpected output from this projects tags. For example:
{% variables %}
{% attributes self %}
{% details self %}
Produces:
['False', 'None', 'True', 'hero_photo', 'self', 'value']
<filter object at 0x111da2e48>
{'get': 'routine', 'update': 'routine', 'pop': 'routine', 'copy': 'routine', 'keys': 'routine', 'popitem': 'routine', 'block': <home.models.RichTextWithForm object at 0x110d729e8>, 'setdefault': 'routine', 'fromkeys': 'routine', 'move_to_end': 'routine', 'bound_blocks': OrderedDict([('body', <wagtail.wagtailcore.blocks.base.BoundBlock object at 0x111da2940>), ('image', <wagtail.wagtailcore.blocks.base.BoundBlock object at 0x111da2ac8>), ('reverse_text', <wagtail.wagtailcore.blocks.base.BoundBlock object at 0x111da22b0>), ('resource_given', <wagtail.wagtailcore.blocks.base.BoundBlock object at 0x111da2e10>), ('save_contact_to', <wagtail.wagtailcore.blocks.base.BoundBlock object at 0x111da2320>)]), 'clear': 'routine', 'items': 'routine', 'values': 'routine'}
I routinely get results like this, so I never use the attributes tag, and I have to dig around all the routine values to find meaningful values.
I'm wondering if this has to do with the Wagtail CMS, or if it has to do with Django changing over the last two years.
Metadata
Metadata
Assignees
Labels
No labels