Skip to content

Commit

Permalink
Notifications: add admin (#11114)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Feb 14, 2024
1 parent d0f059e commit 57c5c8a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions readthedocs/notifications/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""Notifications admin."""

from django.contrib import admin

from readthedocs.notifications.models import Notification


@admin.register(Notification)
class NotificationAdmin(admin.ModelAdmin):
list_display = (
"id",
"message_id",
"attached_to_content_type",
"state",
)

0 comments on commit 57c5c8a

Please sign in to comment.