fix GET issue breaking test

This commit is contained in:
ducoterra
2020-10-12 16:24:31 -04:00
parent 5b9e568d54
commit 03de5aacfb
8 changed files with 29 additions and 37 deletions

11
.vscode/launch.json vendored
View File

@@ -12,8 +12,11 @@
"args": [
"test",
],
"env": {
"DB_HOST": "localhost"
},
"django": true,
"preLaunchTask": "Migrate"
"preLaunchTask": "docker-compose up"
},
{
"name": "Run Server",
@@ -22,10 +25,12 @@
"program": "${workspaceFolder}/manage.py",
"args": [
"runserver",
"--noreload"
],
"env": {
"DB_HOST": "localhost"
},
"django": true,
"preLaunchTask": "Migrate"
"preLaunchTask": "docker-compose up"
}
]
}

20
.vscode/tasks.json vendored
View File

@@ -2,23 +2,9 @@
"version": "2.0.0",
"tasks": [
{
"label": "Collect Static",
"command": "venv/bin/python manage.py collectstatic --no-input",
"type": "shell",
"presentation": {
"reveal": "always"
},
"group": "build"
},
{
"dependsOn": "Collect Static",
"label": "Migrate",
"command": "venv/bin/python manage.py migrate",
"type": "shell",
"presentation": {
"reveal": "always"
},
"group": "build"
"label": "docker-compose up",
"command": "docker-compose up -d",
"type": "shell"
}
]
}