def get(slug): project = obj_or_404(Project.by_id(id)) #require.service.view(service) return jsonify(project)