1. Yang Zhang
  2. py4u-opensource

Source

py4u-opensource / snippet / snippet.py

1
2
3
4
5
6
7
8
9
from flask import Blueprint, render_template,session,request,redirect
from configure import configure,Message
from blinker import signal
import sqlite3
snippetapp = Blueprint('snippetapp', __name__, static_folder='static',template_folder='templates')

@snippetapp.route('/')
def snippet():
    return render_template('snippet.html')