[Django]-Why is the Django-Simple-Captcha image not showing up?

4👍

On closer inspection, I found the issue was this:

Exception Value: The _imagingft C module is not installed.

Details how to solve this issue can be found here: Python: The _imagingft C module is not installed

1👍

There is no need to create any captcha directories.

The problem is that you did not update your urls.py as mensioned in the documentation:

urlpatterns += patterns('',
    url(r'^captcha/', include('captcha.urls')),
)

Another problem could be that you did not run syncdb:

./manage.py syncdb
./manage.py migrate   # If you use migrations
👤niekas

1👍

The same was happening in my application and I manage to make a very strange workaround (XGH alert) usising two slashes in django-simple-captcha 0.4.4

urlpatterns += patterns('',
    url(r'^captcha//', include('captcha.urls')),
)

0👍

I think it may has something with the conflict of globally and virtureenv environment,may be there is another app which contains the name captcha.

👤dkjf

Leave a comment