Skip to content

Commit

Permalink
add format to default_filters
Browse files Browse the repository at this point in the history
fixes: #4450
(cherry picked from commit 600a8ea)
  • Loading branch information
jerabekjiri authored and patchback[bot] committed Oct 3, 2023
1 parent 1f2466c commit cdd8aa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/4450.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added ``format`` param to ``DEFAULT_FILTERS`` in ``BaseFilterSet`` to fix django api format.
1 change: 1 addition & 0 deletions pulpcore/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ def is_valid(self, *args, **kwargs):
"offset",
"page_size",
"ordering",
"format",
]
for field in self.data.keys():
if field in DEFAULT_FILTERS:
Expand Down

0 comments on commit cdd8aa4

Please sign in to comment.