Skip to content

Conversation

@CristopherH95
Copy link
Contributor

This pull request adds a afilter_queryset method, which is an asynchronous version of the standard filter_queryset method used previously. Similar to other async methods on the generic views, this implementation will automatically check whether the filter backend is natively async and, if not, wrap the method appropriately in sync_to_async.

Resolves #71.

@CristopherH95 CristopherH95 changed the title Implement Async filter_queryset Method Implement async filter_queryset method Nov 8, 2025
@em1208 em1208 merged commit b505dd0 into em1208:main Nov 24, 2025
7 checks passed
@em1208
Copy link
Owner

em1208 commented Nov 24, 2025

Thank you @CristopherH95 for this. I merged it and it's part of the release 0.1.12.

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.

SynchronousOnlyOperation exception caused by filter_queryset method

2 participants