Captcha module ready for testing

2007-06-13 Thread MartinWinkler
Hi all, I just uploaded the captcha module I recently mentioned to http://django.agami.at/media/captcha/ Please take a look at it and tell me what you think of it. I really hope this module can be put into the trunk on django.contrib some day. Maybe one of the lead developers can take a look too

Re: sleep for 30 minutes?

2007-06-13 Thread MartinWinkler
> I don't recall hearing a good argument for *not* delivering the images > dynamically, without saving them to disk. Why not do it that way? Since I do not want the developer to change anything in urls.py or add some middleware or cookies - what would be the URL of this dynamically generated ima

Re: sleep for 30 minutes?

2007-06-10 Thread MartinWinkler
On Jun 11, 12:17 am, Carl Karsten <[EMAIL PROTECTED]> wrote: > I sense a race condition: > We are only deleting images older than 30 minutes - if a user takes THAT long for a captcha, he has to enter a new captcha. This is desired behaviour. I do not like the whole "delete all old images" all th

Re: newforms: setting a field to a value in clean( )

2007-06-10 Thread MartinWinkler
Bram - Smartelectronix schrieb: > in clean( ) we would like to set a field value. In particular: if there > are errors in a signup form, we'd like to delete the passwords to user > gave before as to not send unencrypted passwords back... clean() is a field method, but I guess, you want to chang

Re: sleep for 30 minutes?

2007-06-10 Thread MartinWinkler
Hi again, On Jun 10, 10:37 pm, Florian Apolloner <[EMAIL PROTECTED]> wrote: > Why don't you display the image dynamically with django, without > saving it? > Example:http://django-captcha.googlecode.com/svn/trunk/djaptcha/views.py I already took a look at django-captcha, and what I do not like

sleep for 30 minutes?

2007-06-10 Thread MartinWinkler
Hi all, I have implemented a captcha solution for django (because the already available approaches did not fit my needs), and came to this problem: An image is created for every captcha-enabled form that is being displayed. Wen the user submits the form, the image is being deleted automatically.