django-dtpanel-htmltidy icon indicating copy to clipboard operation
django-dtpanel-htmltidy copied to clipboard

no output with debug_toolbar 1.0.1

Open tecnosegugio opened this issue 11 years ago • 1 comments

Using the new Debug Toolbar 1.0.1 the only visible output I get is '<'.

Looking at the generated HTML code I see something that remind me a Python exception.

So after debugging the code I think that the initials ros of panels.content method must be changed in:

    @property
    def content(self):
        context = dict()

Because self.context doesn't exists and the method must be defined as a property in order to works with DT 1.0.1.

After this changes, the panel works again.

Thank you

tecnosegugio avatar Jan 14 '14 16:01 tecnosegugio

Ditto on this ... I wasted time with installing the version that pip installs ... bad, broken, pre-django 1.6 URL fix. Deinstalled it.

So, I cloned and installed locally from the current github version ... spent time figuring out why HTMLTidy's panel shows in the toolbar, but no other panels show ... got it all fixed ... and now I'm facing a pane with ">" as the content Deinstalled it.

Heck with this, I'll let Syntastic show me HTML validation errors instead.

joej avatar Apr 02 '16 20:04 joej