def get_initial_contact(request):
 initial = {}
 if request.user.is_authenticated():
  initial[u'name'] = request.user.first_name
  initial[u'email'] = request.user.email
 return initial

def get_initial_contact ( request ) : initial = { } if request . user . is_authenticated ( ) : initial [ u'name' ] = request . user . first_name initial [ u'email' ] = request . user . email return initial
fills in initial contact form fields from request .