how to chek if query string exists in django code example Example: django check if get parameter exists if 'parameter' in request.GET: #do stuff