I'm not sure you can use default the way you are using on the name field, but in case you can: the names of the fields in User are username, firstname, and lastname, so you can try user.username, user.firstname or user.lastname .
-- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ceb10c25-a741-4c2f-a618-321bb4010328%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.