All Questions
Tagged with django visual-studio-code
433
questions
-1
votes
0
answers
46
views
No Module Found (import cloudinary) - Django Heroku
import cloudinary_storage
import os
import ssl
import certifi
import dj_database_url
Anytime I try to deploy to Heroku, it deploys successfully, but the page says application error and cloudinary ...
-3
votes
1
answer
54
views
In VS code facing issue with RUN AND DEBUG for DJANGO
I am running "Run and Debug" in VS Code on a django project. When I do it starts and ends within 2 seconds, without displaying any errors.
Here is the launch.json for reference:
{
// Use ...
0
votes
0
answers
20
views
vscode run django test with database running in docker container on host
My settings.json
{
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.testing.unittestArgs": [
"-v",
&...
2
votes
2
answers
182
views
VS Code not jumping to the top stack frame
I'm trying to debug some Django library code with the default VS Code Python and Django debugging settings (and "justMyCode" = False). I've set a breakpoint in one of the library functions:
...
-2
votes
3
answers
251
views
Error while installing scikit-learn with pip : Preparing metadata (pyproject.toml) did not run successfully
I try to install scikit-learn==1.2.2 for the django project and I got this error.
Collecting scikit-learn==1.2.2
Using cached scikit-learn-1.2.2.tar.gz (7.3 MB)
Installing build dependencies ... ...
2
votes
2
answers
887
views
VS Code closes after opening [duplicate]
I just installed ubuntu 24.
I'm a django developer and I've been working fine with Visual Studio Code, but today when I tried to open my vscode, while it was opening it closed without any error or ...
0
votes
0
answers
50
views
How to enter a Hatch shell development environment in the VS Code debugger launch profile when debugging django
I'm trying to launch my Django application using VS codes debugger. I need to run the command 'hatch shell' to enter my hatch development environment before running the server command 'py manage.py ...
0
votes
1
answer
30
views
i have this error on my django app i tried every solution possible but it remains the same
so im trying to build a realtime chat application for my college project and i used django because i heard that its preety flexible to use as webframewoke app but since i started i kept facing errors, ...
0
votes
0
answers
88
views
ModuleNotFoundError: No module named 'captcha.fields'
By Executing command python manage.py runserver in vscode terminal occured this error :
Watching for file changes with StatReloader
Performing system checks...
Exception in thread django-main-thread:
...
0
votes
0
answers
21
views
VSCode task to run Django server and open Firefox
I'm trying to make a task that runs the Django server and opens Firefox.
I've tried with
{
"version": "2.0.0",
"tasks": [
{
"label": &...
0
votes
0
answers
102
views
Debugging in Django REST Framework
i am using vs code
How to correctly catch breakpoints in Django REST Framework debugging session after an HTTP request? When debugging a DRF project
breakpoints trigger upon initiating the debug ...
0
votes
0
answers
78
views
Debugger not stop on breakpoint
I'm trying to debug my Docker Django app with this configuration.
launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "Docker: ...
0
votes
0
answers
46
views
127.0.0.1 slowness in django virtual environment running with vscode
After connecting to the server built in awsec2 with a remote of vscode, the django virtual environment was run to make a connection of 127.0.0.1.
But its speed is too slow.
When you connect using ...
0
votes
1
answer
53
views
launch.json unit-tests Django
I have made tests in Django, and configured launch.json to run from in vscode, but when I make an error in the tests, I get a red error warning. I would like to have an error in the tests, logging ...
1
vote
1
answer
43
views
creating a virtual environment and file part onvscode
pipenv install django is not creating a virtual environment for me ,i am trying to create a virtual environment via my cmd on my windows , with the command "pipenv intall django", it install ...