Implementing flask-classy view for portfolio_settings