-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add filtering to api-fixes branch (#140)
* Add API view for grants. * Add email to service roles. * Simple filtering for service and category * Try to use DjangoFilterBackend filterset_fields * Tidy filtering of queryset * Remove django filter backend import * Remove trailing whitespace * Black * Make UserServices a nested route. * Swap grants logic to it's own viewset. * Add filtering for roles * Add to swagger schema * Test user API info * Add test for filtering by category * Add tests for query params * Add tblib to testing dependencies * Workaround unsupported %:z in python 3.11. * Black, isort, remove redundant imports. --------- Co-authored-by: Alex Manning <[email protected]>
- Loading branch information
Showing
7 changed files
with
323 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.