Re: Django captcha problems
syhpoon wrote: > Error occurs when I try to load template with form that is protected > with captcha, i.e. when I put {%load captcha%} {%captcha%} into my > template, without these lines it renders fine, but, naturally without > captcha image. The strangest thing for me is that, as I've mentioned > before, with django internal server it works as it required to: the > image is generated and shown, validation passes as well. Thus I suspect > mod_python to be the cause of errors like these. But the reason, and > much more important, solution is still unknown. > > Template code I use for this form is taken from captcha's class > docstring. > > > Hi Syhpoon, I'm not too familiar with the captchas, but shouldn't you use the template tags {% load captcha %} and {% captcha %} instead? The leading and trailing spaces are important, I think. -Luis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~--~~~~--~~--~--~---
Re: Django captcha problems
Yes, I do use prefork mpm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~--~~~~--~~--~--~---
Re: Django captcha problems
On 3/1/06, syhpoon <[EMAIL PROTECTED]> wrote: > > Hi, > I've tried django captcha > (http://feh.holsman.net/articles/2005/12/15/django-captcha-app) but got > strange behaviour: > With internal django web server everything works just fine, but I got a > really misterious error with apache 2.0.55 and mod_python 3.1.4 > on FreeBSD (sorry for a lot of quoting, I'm not really sure what's the > call that caused error): > Mod_python error: "PythonHandler django.core.handlers.modpython" Are you using the pre-fork MPM for Apache? If not, try it; you'll like it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~--~~~~--~~--~--~---