Skip to content

Check for for StreamingHttpResponse when generating stats in Alert #1946

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Jul 5, 2024

Conversation

danjac
Copy link
Contributor

@danjac danjac commented Jul 5, 2024

Description

Adds check for StreamingHttpResponse when generating stats for Alert Pane.

Fixes #1945

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @danjac!

@tim-schilling tim-schilling merged commit afeee86 into django-commons:main Jul 5, 2024
25 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: This StreamingHttpResponse instance has no content attribute. Use streaming_content instead.
2 participants