Skip to content

Instantly share code, notes, and snippets.

@guyjacks
Last active August 29, 2015 14:13
Show Gist options
  • Save guyjacks/e4bb474c0e0580cd18df to your computer and use it in GitHub Desktop.
Save guyjacks/e4bb474c0e0580cd18df to your computer and use it in GitHub Desktop.
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