将外部文件添加到flask项目结构

时间:2020-09-14 23:07:08

标签: python flask

我的工作项目具有以下结构:

application/
  __init__.py
  - blueprint1/
  - blueprint2/
  - static/
  - templates/
.env
.gitignore
config.py
Pipfile
Pipfile.lok
README.md
wsgi.py

我要将两个名称分别为“ country_by_abbreviation.json”和“ language_by_locale.json”的文件添加到我的Flask项目结构中,但我不知道确切在何处添加它们以及最佳做法是什么?

0 个答案:

没有答案