notification create modified to update or create

This commit is contained in:
abutalib-kiwi
2023-09-28 19:07:14 +05:30
parent 18143e0219
commit e121c92fb4
3 changed files with 16 additions and 4 deletions

View File

@ -11,3 +11,4 @@ class NotificationAdmin(admin.ModelAdmin):
"""Notification Admin"""
list_display = ['id', 'notification_type', 'notification_to', 'data', 'is_read']
list_filter = ['notification_type']
search_fields = ['notification_to']