don't request full user list, it takes time

This commit is contained in:
Roman Vasilyev 2016-09-12 12:29:48 -07:00
parent 1f0c45d124
commit 4a2b3d691c

View file

@ -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', )