Where is your meta class ? It is not in __init__() function, is it? if it is then problem is there.
class Meta: > model = CustomUser > fields = ['email',] > del self.fields['username'] > this is wrong, use exclude in Meta class to remove fields -- "La utopía sirve para caminar" Fernando Birri -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAG%2B5VyNk6Zbw7nZwaELzpxD9FLN5-Kh35herfak5Z9rc9RhRYQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

