First Project
Settings pyproject.toml
(Demo)
Warning
Make sure that the project's settings look something like the example below. . . or it will not work
Adding a PDM Command
pyproject.toml
[project]
name = "myproject"
version = "1.0.0"
# etc ...
[tool.pdm.scripts]
app = "python manage.py" #
Finally! Getting Started
Wait
After the server starts, then go to http://localhost:8000/docs
You can notice:
- Your project's name
- Your project's version