simple index template

This commit is contained in:
Kenneth Reitz
2011-07-05 21:49:52 -04:00
parent ca40a29afa
commit e25ffe964a
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
from .index import index
+10
View File
@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from flask import Blueprint, g, render_template
index = Blueprint('home', __name__)
@index.route('/')
def get_index():
return render_template('index.html')