'Manager' object is not callable

2021. 1. 16. 15:15파이썬/Django

def gantt(request,work_id) :
    gantts = Gantt.objects().all()
    context = { 'gantts' : gantts }
    return render(request, 'gantt/gantt.html', context)

Gantt.objects().all() -> Gantt.objects.all()로 변경해서 해결