Closed LukeWebbJacobs closed 2 years ago
Try this :
def get_initial_queryset(self, request=None):
milestone = request.resolver_match.kwargs['milestone']
...
Awesome thank you, that works great. Basic django knowledge lacking here sorry!
Hi, I had to monkey patch get like this:
so that I could read my url paramters. We could pass these directly to get_initial_queryset()? Is there another way to use these when overriding get_initial_queryset()?