Closed lubaskinc0de closed 2 years ago
i am passing request.GET to views but request is not being passed to getattr which is causing error 'NoneType' object has no attribute 'user'
Encounter same problem
@lubaskinc0de I found the solution. Need to pass request to the filter. e.g. RequestFilter(request.GET, queryset=requests, request=request)
i am passing request.GET to views but request is not being passed to getattr which is causing error 'NoneType' object has no attribute 'user'