Introducing Cloud extension
We use a Pillar extension to register Blender Cloud specific endpoints.
This commit is contained in:
11
cloud/routes.py
Normal file
11
cloud/routes.py
Normal 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')
|
Reference in New Issue
Block a user