def code(request): ca = Captcha(request) ca.worlds = ["hello", "world", "helloworld"] ca.type = "number" ca.type = "word" return ca.display()