Skip to content

Commit

Permalink
Django admin: search and filter notifications (#11359)
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos authored May 28, 2024
1 parent b867bee commit e3d3e36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readthedocs/notifications/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

@admin.register(Notification)
class NotificationAdmin(admin.ModelAdmin):
search_fields = ("message_id",)
list_filter = ("state",)
list_display = (
"id",
"message_id",
Expand Down

0 comments on commit e3d3e36

Please sign in to comment.