diff --git a/sarsoo/music/__init__.py b/sarsoo/music/__init__.py new file mode 100644 index 0000000..0ec35b2 --- /dev/null +++ b/sarsoo/music/__init__.py @@ -0,0 +1 @@ +from .music import music_print diff --git a/sarsoo/music/music.py b/sarsoo/music/music.py new file mode 100644 index 0000000..fe980d0 --- /dev/null +++ b/sarsoo/music/music.py @@ -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') diff --git a/sarsoo/music/templates/music/index.html b/sarsoo/music/templates/music/index.html new file mode 100644 index 0000000..b977796 --- /dev/null +++ b/sarsoo/music/templates/music/index.html @@ -0,0 +1,3 @@ +{% extends 'base.html' %} + +{% block title %}music{% endblock %}