Skip to content

Commit

Permalink
feat: add list_per_page for T_FeedAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
versun committed Jul 4, 2024
1 parent fe50f75 commit 8ce0fa0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class T_FeedAdmin(admin.ModelAdmin):
"modified",
]
actions = [t_feed_force_update, t_feed_export_as_opml, t_feed_batch_modify]
list_per_page = 20
# def get_search_results(self, request, queryset, search_term):
# queryset, use_distinct = super().get_search_results(request, queryset, search_term)
# queryset |= self.model.objects.filter(o_feed__feed_url__icontains=search_term)
Expand Down

0 comments on commit 8ce0fa0

Please sign in to comment.