
Flask Blueprint Directory Structure📁sampletest ├── 📄publish.py └── 📁module ├── 📄__init__.py └── 📄publish.py# dbtest.py #-*- coding: utf-8 -*- from flask import Flask from mymodule import public app = Flask(__name__) app.register_blueprint(public.blueprint, url_prefix='/pages') @app.route('/') def hello_world(): return 'Hello World!' app.debug = True if __name__ == '__main__': app.run()#-*- coding: utf-8 -*- # public.py __author__ = 'namhadmin' from flask import Blueprint, render_template blueprint = Blueprint('public', __name__) @blueprint.route('/') def home(): #return render_template('public/home.html') return "blueprint test"

Raspberry Pi List 시리즈 #1. List of ErrorsProject, Firebase, Admob, Emulator, Widget, Plugins [ Project ]플러터 프로젝트 구조 로드 실패with Entrypoint isn’t within the current project[ Firebase ]Firebase 경고 문구 처리방법with Recompile with -Xlint:unchecked for details.Firebase 데이터 로드 실패with PERMISSION_DENIED: Missing or insufficient permissionsFirebase 데이터베이스 로드 실패with The number of method references cannot exceed 64K[ Admob ]Admob 광고 로드 실패with Missing or insufficient permissions.[ Emulator ]adb 명령어 툴 로드 실패with Unable to locate adb에뮬레이터 사운드 드라이브 충돌with audio: Failed to create voice ‘abc’[ Widget ]TabController 생성자 vsync 사용방법with can’t be assigned to the parameter type ‘TickerProvider’[ Plugins ]WebView를 통한 http 페이지 접근 불가with ERR_CLEARTEXT_NOT_PERMITTEDWebView를 통한 http 페이지 데이터 로드 실패with Insecure HTTP is not allowed by platformWebView를 통한 페이지 로딩 실패with ERR_CACHE_MISS