Total Complexity | 0 |
Total Lines | 7 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from django.contrib import admin |
||
12 | class ActionAdmin(ModelAdmin): |
||
13 | date_hierarchy = 'timestamp' |
||
14 | list_display = ('__str__', 'actor', 'verb', 'target', 'public') |
||
15 | list_editable = ('verb',) |
||
16 | list_filter = ('timestamp',) |
||
17 | raw_id_fields = ('actor_content_type', 'target_content_type', |
||
18 | 'action_object_content_type') |
||
19 | |||
30 |