call the method self.error_class with an argument list with one element, return value of the method self.get_form_error,
form . _errors [ NON_FIELD_ERRORS ] = self . error_class ( [ self . get_form_error ( ) ] )