madssj/django-longer-username-and-email — pull request #4 by mfogel (2012-10-03 06:47:57+00:00)
Title: Feature/fix usercreationform

Hi madssj, I noticed the UserCreationForm wasn't catching duplicate email addresses on validation. I traced it down to not patching the User model to set unique=True on the email field (to match the migrations that add the unique=True in the database).

These two commits:

* add tests for the problem behavoir I was seeing
* and fix it.

Thanks!