I think it would be better if it was `request.GET.get('pre_lname', '')`

But I don't think most of these statements are needed.