emile 1 year ago
parent f8bf207c5d
commit 7ca444571e

@ -23,8 +23,10 @@ class ProjectAdmin(admin.ModelAdmin):
class PointAdmin(admin.ModelAdmin):
list_display = ('text', 'status', 'task', 'task_asigned_to') # Display these fields in the admin list view
list_filter = ('status',)
list_display = ('text', 'status', 'task', 'task_assigned_to') # Display these fields in the admin list view
list_filter = ('status',) # Enable filtering by status in the admin interface
def task_assigned_to(self, obj):
return obj.task.assigned_to if obj.task else ''
admin.site.register(Reference)
admin.site.register(Business)

Loading…
Cancel
Save