Skip to content

Commit

Permalink
corrected filter_export() example
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhegarty committed Jun 24, 2024
1 parent a5a8a65 commit 6dda647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/admin_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ Create a Resource subclass to apply the filter
super().__init__()
self.author_id = kwargs.get("author_id")

def filter_export(self, queryset, *args, **kwargs):
def filter_export(self, queryset, **kwargs):
return queryset.filter(author_id=self.author_id)

class Meta:
Expand Down

0 comments on commit 6dda647

Please sign in to comment.