TypeError : got multiple values for argument 'reports_pk'

Solution 1:

The first argument to your function printViewCustomers must be request. Just update your views.py to

def printViewCustomers(request, reports_pk):
    pkForm = get_object_or_404(SettingsClass, pk=reports_pk)

    complexName = pkForm.Complex

    ...........