|
|
|
@ -375,7 +375,7 @@ class ProspectAdmin(SyncedObjectAdmin): |
|
|
|
|
|
|
|
|
|
|
|
@admin.register(Activity) |
|
|
|
@admin.register(Activity) |
|
|
|
class ActivityAdmin(SyncedObjectAdmin): |
|
|
|
class ActivityAdmin(SyncedObjectAdmin): |
|
|
|
list_display = ('creation_date', 'status', 'type', 'description', 'attachment_text') |
|
|
|
list_display = ('prospect_names', 'creation_date', 'status', 'type', 'description', 'attachment_text', ) |
|
|
|
list_filter = ('status', 'type') |
|
|
|
list_filter = ('status', 'type') |
|
|
|
search_fields = ('description',) |
|
|
|
search_fields = ('description',) |
|
|
|
filter_horizontal = ('prospects',) |
|
|
|
filter_horizontal = ('prospects',) |
|
|
|
|