Captcha format should be configured individually for every captcha field
Closed this issue · 1 comments
GoogleCodeExporter commented
Captcha format should be configured individually for every captcha field,
like
class UserCreationFormExtended(UserCreationForm):
captcha = CaptchaField(format="%(image)s <br/><br/> %(hidden_field)s
%(text_field)s")
Now you can use only settings.CAPTCHA_OUTPUT_FORMAT, which in one per
project. Not very cool.
Original issue reported on code.google.com by v.go...@gmail.com
on 4 Jun 2010 at 4:05
GoogleCodeExporter commented
Fixed in r55. You can now pass an optional 'output_format' string to the
field's constructor, e.g.
captcha = CaptchaField(output_format=u'%(image)s %(hidden_field)s %(text_field)s')
Original comment by mbonetti
on 11 Jul 2010 at 11:08
- Changed state: Fixed