Commits

Denis Golomazov  committed 58c42d0

Add actor object id to list filter. Reason: need to be able to filter by actors.

  • Participants
  • Parent commits 92bbe98

Comments (0)

Files changed (1)

File actstream/admin.py

 class ActionAdmin(admin.ModelAdmin):
     date_hierarchy = 'timestamp'
     list_display = ('actor', 'verb', 'action_object_content_type', 'action_object', 'target_content_type', 'target', 'timestamp')
-    list_filter = ('verb', 'timestamp')
+    list_filter = ('verb', 'timestamp', 'actor_object_id')
 
 class FollowAdmin(admin.ModelAdmin):
     list_display = ('__unicode__','user','actor')