Skip to content

Unable to create a panel without a call to record_stats #2195

@tim-schilling

Description

@tim-schilling

When creating an empty panel such as:

class MyPanel(Panel):
    template = "debug_toolbar/panels/my_panel.html"

It errors when trying to access the panel in the render_panel view because the key doesn't exist in the store. I'll have a fix up for this shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions