Re: How to make email field unique in model User from contrib.auth in Django

2009-07-26 Thread ramusus
It's amazing for me, But I found a best solution! django-registration have form with checking unique email: RegistrationFormUniqueEmail http://bitbucket.org/ubernostrum/django-registration/issue/13/password-reset-issues-emails-should-be#comment-15422 On 26 июл, 15:09, ramusus <r

Re: How to make email field unique in model User from contrib.auth in Django

2009-07-26 Thread ramusus
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