2๐
I might think that u have to select the Next Filter according to the previous Filter.. Try to get request from the url where you pass the data
def lookups(self, request, model_admin):
if request.GET.get('previous_filter') == 'True':
return []
if request.GET.get('current_filter') == 'False':
return [
# Pass your List Here
]
if self.value() is None:
return []
๐คJay Dave
Source:stackexchange.com