Skip to content

Commit 57c5c8a

Browse files
authored
Notifications: add admin (#11114)
1 parent d0f059e commit 57c5c8a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

readthedocs/notifications/admin.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""Notifications admin."""
2+
3+
from django.contrib import admin
4+
5+
from readthedocs.notifications.models import Notification
6+
7+
8+
@admin.register(Notification)
9+
class NotificationAdmin(admin.ModelAdmin):
10+
list_display = (
11+
"id",
12+
"message_id",
13+
"attached_to_content_type",
14+
"state",
15+
)

0 commit comments

Comments
 (0)