Python Django Return Profile Matching Query Does Nor Exit Stack

Python Django Return Profile Matching Query Does Nor Exit Stack