strip trailing whitespace on user first and last names
People can save their names with extra space after them, and this shouldn't happen. Luckily, python has a .strip()
method for strings.
There are two forms where students can set their names, associated with the WelcomeName view and the UpdateStudent view. For each, on the student.user.first_name and .last_name fields, add a .strip()
to the end before calling .save().