@@ -0,0 +1,907 @@
+from django.contrib import admin%0Afrom django.contrib.auth.models import User%0Afrom django.contrib.auth.admin import UserAdmin%0Afrom django.contrib.auth.forms import UserChangeForm%0Afrom django import forms%0Afrom django.utils.translation import ugettext_lazy as _%0A%0A%0Aclass HackedUserChangeForm(UserChangeForm):%0A    %22%22%22%0A    Support %3E 30 character length usernames in the admin%0A    %22%22%22%0A    username = forms.RegexField(label=_(%22Username%22), max_length=128, regex=r'%5E%5B%5Cw.@+-%5D+$',%0A        help_text = _(%22Required. 128 characters or fewer. Letters, digits and @/./+/-/_ only.%22),%0A        error_messages = %7B'invalid': _(%22This value may contain only letters, numbers and @/./+/-/_ characters.%22)%7D)%0A%0A    %0Aclass HackedUserAdmin(UserAdmin):%0A    %22%22%22%0A    Support %3E 30 character length usernames in the admin%0A    %22%22%22%0A    form = HackedUserChangeForm%0A    %0A    %0Aadmin.site.unregister(User)%0Aadmin.site.register(User, HackedUserAdmin)%0A

support longer usernames in the admin