fix TypeError, issues/views.py in form_valid, line 126