[Answered ]-Exporting a data from last year to csv returns an error

1👍

A view always takes as (first) parameter the `request, so:

def export_by_last_year(request):
    # …

Leave a comment