All of these could probably be turned into ternary operations for readabilty / elegance
pre_lname = requrest.get('pre_lname') if request.get('pre_lname)' else ""