Skip to content

Commit 4cd9a75

Browse files
authored
Added settings info in pyproject.toml, for easier debug on reports. (#156)
1 parent fc1c2d0 commit 4cd9a75

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

fastapi_template/template/{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,13 @@ src_folder = "./{{cookiecutter.project_name}}"
218218
{%- endif %}
219219
{%- endif %}
220220

221+
[fastapi-template.options]
222+
{%- for key, value in cookiecutter.items() %}
223+
{%- if not key.startswith("_") and not key == "db_info" %}
224+
{{key}} = "{{value}}"
225+
{%- endif %}
226+
{%- endfor %}
227+
221228
[build-system]
222229
requires = ["poetry-core>=1.0.0"]
223230
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)