Actually, to take this one step further, I'm considering doing this using 
django-simple-captcha. Here's what I'm thinking it will take, someone 
please let me know if this is too invasive.

In one of my own installed apps, I'll:

   1. Override /accounts/register/ in some urls.py, which will use as a 
   view...
   2. ... my own version of satchmo_store.accounts.views.register, which 
   will process the form with...
   3. ... my own version of 
   satchmo_store.accounts.views.register_handle_form, which will use as a 
   form...
   4. ... my own version of satchmo_store.forms.RegistrationForm, which 
   will use CaptchaField from django-simple-captcha

That seems like a lot of code duplication just to get a CAPTCHA working. 
Would there be an easier way?

Kevin

On Saturday, December 8, 2012 11:33:22 PM UTC-5, Kevin Harvey wrote:
>
> Ben, did you ever get this figured out? I'm looking at the same issue now.
>
> Kevin
>
> On Sunday, October 14, 2012 3:44:19 PM UTC-4, Ben wrote:
>>
>> Hi, 
>>
>> has anybody implemented reCAPTCHA for Satchmo user registration? I am 
>> trying it with django-recaptcha: 
>>
>> https://github.com/praekelt/django-recaptcha 
>>
>> I would only need it for the url 
>>
>> url(r'^accounts/register/$', 'register', {'SSL': ssl}, 
>> name='registration_register') 
>>
>> but as I see it, satchmo_store.accounts.views.register() does not take a 
>> {"backend": captcha.backends.default.CaptchaDefaultBackend'} kwargs 
>> parameter. This is implemented in django-registration v0.8 register(), and 
>> the examples in django-recaptcha build upon that. I wonder if this is the 
>> right track anyways... 
>>
>> Any hints appreciated! 
>>
>> Ben 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/satchmo-users/-/FsoAB40E2bQJ.
To post to this group, send email to satchmo-users@googlegroups.com.
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to