name 'Q' is not defined in django code example Example: name 'q' is not defined in jupyter notebook 'q' is not defind