Add playground blueprint

This commit is contained in:
Patrick Jentsch
2020-06-08 11:55:20 +02:00
parent 50a483cbfc
commit 1faf8f9ab2
6 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,5 @@
from flask import Blueprint
playground = Blueprint('playground', __name__)
from . import events, views # noqa

View File

View File

@ -0,0 +1,10 @@
from flask import render_template
from flask_login import login_required
from . import playground
@playground.route('/')
@login_required
def index():
return render_template('playground/index.html.j2',
title='Playground')