Add VSCode tasks for Django management commands
All checks were successful
Ruff / ruff (push) Successful in 10s
All checks were successful
Ruff / ruff (push) Successful in 10s
This commit is contained in:
29
.vscode/tasks.json
vendored
Normal file
29
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Django: Make migrations.",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "uv run python manage.py makemigrations",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$python"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Django: Migrate.",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "uv run python manage.py migrate",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$python"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Django: Run pytest.",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "uv run pytest",
|
||||||
|
"problemMatcher": [
|
||||||
|
"$python"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user