view_function has better str method