Introducing Cloud extension

We use a Pillar extension to register Blender Cloud specific endpoints.
This commit is contained in:
2017-03-10 15:36:30 +01:00
parent 2f1a32178a
commit 1d687d5c01
7 changed files with 381 additions and 32 deletions

11
cloud/routes.py Normal file
View File

@@ -0,0 +1,11 @@
import logging
from flask import Blueprint, render_template
blueprint = Blueprint('cloud', __name__)
log = logging.getLogger(__name__)
@blueprint.route('/about')
def about():
return render_template('about.html')