Thanks, Andy and Parag!

Validate email field via AJAX - very good idea.

Could you describe case with pre-save signal in more detail, please!

If I understand correctly, you are offering to use pre-save signal
and raise ValidationError if email of new User exists in DB or smthing
else?

Could you demonstrate example of this handler of pre-save signal?

On 22 июл, 09:54, Parag Shah <adapti...@gmail.com> wrote:
> Yes that is also a good idea. Validate the form with an AJAX call when the
> user enters the email addr (or clicks on Submit)
>
> --
> Thanks & Regards
> Parag Shahhttp://blog.adaptivesoftware.biz
>
> On Wed, Jul 22, 2009 at 11:21 AM, Andy McKay <a...@clearwind.ca> wrote:
>
> > Use a pre-save signal, but also validate your forms correctly.
>
> > On 21-Jul-09, at 12:33 PM, ramu...@gmail.com wrote:
> > > Another idea may be to open a new ticket and upload a patch with new
> > > parameter inside settings.py:
>
> > > AUTH_USER_EMAIL_UNIQUE = True
>
> > You could do that, but if I had anything to do with it, it would be
> > rejected, so don't bother :)
> > --
> >   Andy McKay
> >   Clearwind Consulting:www.clearwind.ca
> >   Blog:www.agmweb.ca/blog/andy
> >   Twitter: twitter.com/clearwind
>
>
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to