shaoyh / django-simple-captcha

Automatically exported from code.google.com/p/django-simple-captcha
MIT License
0 stars 0 forks source link

Custom parameters on field #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to add the possibility to overwrite settings for some forms?

At this moment all settings are only available at settings.py.  For my case, I 
need a different front/background color depending the form

captcha = CaptchaField(foreground='#FF0000',background='#123456')

would be nice

Original issue reported on code.google.com by jimmy...@gmail.com on 15 Oct 2010 at 2:56

GoogleCodeExporter commented 8 years ago
I think this is a very valid request, but the only way to implement this would 
be to persist the extra parameters in the database within the CaptchaStore 
object, and I'm not keen on this as it'd break lots of production installs.

So I'll just close this for the time being but I'll keep it in mind for V2.0. 

Original comment by mbonetti on 9 Feb 2011 at 3:51