I'm trying to save an object to my database, but it's throwing a MultiValueDictKeyError error.
The line is
is_private = request.POST['is_private']
The problems lies within the form, the is_private is represented by a checkbox. If the check box is NOT selected, obviously nothing is passed. This is where the error gets chucked.
How do I properly deal with this exception, and catch it?