๐
app.json_encoder = CustomJSONEncoder
app = Flask(__name__)
NameError: name 'app' is not defined
โ๏ธ
app = Flask(__name__)
app.json_encoder = CustomJSONEncoder
์ปค์คํ ์ธ์ฝ๋๋ฅผ ์ถ๊ฐ ์์ฑํ๋ ๊ณผ์ ์์ app ์ ์ธ ์ ์ ์ฌ์ฉํด์ nameerror๊ฐ ๋ฌ๋ค.
'Development > Debugging' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[virtualbox] Implementation of the USB 2.0 controller not found (0) | 2020.07.19 |
---|---|
mysql-server ์์ ์ญ์ (1) | 2020.04.17 |
syntax error : bcrypt (0) | 2020.04.13 |
FLASK_APP (0) | 2020.03.24 |
install tig (0) | 2020.03.20 |