Closed ayushin closed 2 years ago
it would be great if request object was accessible in get_queryset()
would it be an option to save request in get() to self.request before calling get_queryset?
I believe it already available as self.request, because Django’s View class does so here:
self.request
View
https://github.com/django/django/blob/e361621dbc77b5d926ec4deff5e7c792a61db71e/django/views/generic/base.py#L89
Can you check that?
sorry had a long day
it would be great if request object was accessible in get_queryset()
would it be an option to save request in get() to self.request before calling get_queryset?