madssj/django-longer-username-and-email — pull request #3 by mfogel (2012-08-05 23:48:31+00:00)
Title: Fix django admin 'create user'

The django admin 'create user' page is currently broken on a clean django install using longerusernameandemail. These three commits fix it up:

* in f2ce156
* django.contrib.auth.forms.UserCreationForm doesn't define an 'email' field by default
* there's no need to 'update_field_length' on the UserCreationForm or UserChangeForm email fields since these fields are generated by a ModelForm - so they'll use the max_length parameter from the model layer, which has been already updated by our monkey patching.
* in 9fbeab2 added tests for the basic CRUD functionality of the django admin interface.