Generic Views for Flask