Skip to content Skip to sidebar Skip to footer

Django Simple Captcha Keeps Saying `invalid Captcha`

I have followed the steps given by the docs, firstly , it works well ,but ,i don't know anythings wrong ,it makes an invalid Captcha. i run the manage.py test captcha, it says lik

Solution 1:

Please look into the below URL. From 10th conversation same problem is discussed.

https://github.com/mbi/django-simple-captcha/issues/41

Possible solutions provided in above link -

  • Do you also have this library installed in both global as well as virtual environments?

    if Yes then uninstall the one which is not required.

  • Did you redefined "CAPTCHA_OUTPUT_FORMAT" in your settings?

    if yes then test after commenting that line.

Solution 2:

this is because i've delete the globle var='DJANGO_SETTINGS_MODULE' in my windows ,which i think is of not a big use. and i reset it in windows. and the test finally says OK,meaning the 2 warnings above not very important. but after i fix the revalidation in formwizard and single validation in captcha, tests shows plenty errors ,and i ignoresit. this question annoies me three or more days ,whick had to be writen for remember.

Post a Comment for "Django Simple Captcha Keeps Saying `invalid Captcha`"