Skip to content

Instantly share code, notes, and snippets.

@JohnnyFang
Created December 29, 2018 00:42
Show Gist options
  • Save JohnnyFang/2d8f040d28850016f43f71817105e26b to your computer and use it in GitHub Desktop.
Save JohnnyFang/2d8f040d28850016f43f71817105e26b to your computer and use it in GitHub Desktop.
Flask todo app webapp blueprint initialization
# app/webapp/__init__.py
from flask import Blueprint
webapp = Blueprint('webapp', __name__)
from . import views
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment