added music blueprint

This commit is contained in:
aj 2019-03-02 12:41:05 +00:00
parent 5cab7f9740
commit 7d8b2ebf03
3 changed files with 17 additions and 0 deletions

1
sarsoo/music/__init__.py Normal file
View File

@ -0,0 +1 @@
from .music import music_print

13
sarsoo/music/music.py Normal file
View File

@ -0,0 +1,13 @@
from flask import Blueprint, render_template, abort
from jinja2 import TemplateNotFound
from google.cloud import firestore
urlprefix = 'music'
music_print = Blueprint('music', __name__, template_folder='templates')
@music_print.route('/')
def root():
return render_template('music/index.html')

View File

@ -0,0 +1,3 @@
{% extends 'base.html' %}
{% block title %}music{% endblock %}