Skip to content

Fix/querycount middleware drf compat#38

Open
khaledsukkar2 wants to merge 2 commits intoAllianceSoftware:masterfrom
khaledsukkar2:fix/querycount-middleware-drf-compat
Open

Fix/querycount middleware drf compat#38
khaledsukkar2 wants to merge 2 commits intoAllianceSoftware:masterfrom
khaledsukkar2:fix/querycount-middleware-drf-compat

Conversation

@khaledsukkar2
Copy link

This PR fixes Issue #37, where QueryCountMiddleware.set_threshold() and increase_threshold() fail when called with a DRF Request object instead of Django’s HttpRequest.

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.

QueryCountMiddleware.set_threshold DRF

1 participant