def registration(email):
 return Registration.objects.get(user__email=email)

def registration ( email ) : return Registration . objects . get ( user__email = email )
look up registration object by email .