Skip to content

Use default_storage insted of get_messages in get_queryset #23

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

heckad
Copy link

@heckad heckad commented Mar 28, 2025

If we need only the get_queryset method on DBStorage then let's get storage instead of messages. That solves the problem in the case with drf-specular where, in request, we don't have the _message attribute and function get_messages returns an empty list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant