mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-03-16 21:30:24 +00:00
don't request full user list, it takes time
This commit is contained in:
parent
1f0c45d124
commit
4a2b3d691c
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ from .models import Notification
|
|||
|
||||
|
||||
class NotificationAdmin(admin.ModelAdmin):
|
||||
raw_id_fields = ('recipient', )
|
||||
list_display = ('recipient', 'actor',
|
||||
'level', 'target', 'unread', 'public')
|
||||
list_filter = ('level', 'unread', 'public', 'timestamp', )
|
||||
|
|
|
|||
Loading…
Reference in a new issue