Update views.py

Added many comments in the edit view. Also added None types term1, term2, term3--Reason: if a 2nd and/or 3rd term were not previously stored in the database and the user updated the terms list to include 1+ additional terms, an error would occur due to term2 and/or term3 not being created.