dx: Un-ignore .vscode
This commit is contained in:
parent
47b682c509
commit
b94ab204d8
|
@ -12,7 +12,6 @@ postgres-hstore/
|
|||
docker-compose.override.yml
|
||||
build_static
|
||||
.venv
|
||||
.vscode
|
||||
|
||||
__pycache__
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"ms-vscode-remote.remote-containers"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Python: Django",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/manage.py",
|
||||
"args": [
|
||||
"runserver",
|
||||
"0.0.0.0:8000",
|
||||
],
|
||||
"django": true,
|
||||
"justMyCode": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.black-formatter"
|
||||
},
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "migrate",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/manage.py migrate"
|
||||
},
|
||||
{
|
||||
"label": "makemigrations",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/manage.py makemigrations"
|
||||
},
|
||||
{
|
||||
"label": "runserver",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/manage.py runserver"
|
||||
},
|
||||
{
|
||||
"label": "collectstatic",
|
||||
"type": "shell",
|
||||
"command": "${workspaceFolder}/manage.py collectstatic"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue