Django Filtering

Hello peeps. I’ve reached the filtering section. Following along

Did this

And got this error

Thankyou in advance

I’ve solved it myself :smiley: Just in case if anyone of you have the same problem

Change from this
collection_id = self.request.query_params.get[‘collection_id’]
to this
collection_id = self.request.query_params.get(‘collection_id’)


Now it’s working :smiley: