Last active
August 29, 2015 14:13
-
-
Save guyjacks/e4bb474c0e0580cd18df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Blueprint, render_template | |
minnows = Blueprint('minnows', __name__, template_folder='minnows') | |
@minnows.route('/') | |
def list(): | |
#return 'minnows list' | |
return render_template('minnows/list.html') | |
@minnows.route('/create') | |
def create(): | |
return 'create minnows' | |
@minnows.route('/read') | |
def read(): | |
return 'read minnows' | |
@minnows.route('/update') | |
def update(): | |
return 'update minnows' | |
@minnows.route('/delete') | |
def delete(): | |
return 'delete minnows' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment