Skip to content

Debug Output Display Error in Regards to ContextDict/ContextList Objects #21

Open
@brodriguez8774

Description

@brodriguez8774

It seems like sometimes, when trying to use standard project "response debug output-to-console", it will raise an error about an unhashable type ContextDict.

Error occurs in <project_root>/django_expanded_test_cases/mixins/response_mixin.py file, within the show_debug_context() function.

For now, there is a quick workaround that SEEMS to have no immediately noticeable side effects. But more research should be done to determine if this is actually the proper solution.

Issue seems replicatable as of Django 4.2.7, when trying to assertGetResponse to a Django model admin view (Project was simply checking "can we access the page without raising an error", to verify custom admin definitions are not wrong). It's possible issue is maybe related to AdminLtePDQ package as well? Again, unsure, needs further research.

For now, current solution works and I don't have time to look into this further at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions