First Project
Settings pyproject.toml
(Demo)
- Required - The Project Must Have a NAME.
- Required - The Project Must Have a VERSION Ex:
(0.1.0)
.
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" # (1)
- Command - Manage Application.
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