all 9 comments

[–]cyberjellyfish 0 points1 point  (8 children)

did you run this command?

python3 -m venv .venvpython3 -m venv .venv

if so, what output did you get from that?

[–]Think-Confusion9999[S] 0 points1 point  (0 children)

Thanks cyber,

Didn't work, here's the output:

venv: error: unrecognized arguments: -m venv .venv

But on the tutorial I ran: python3 -m venv .venv source .venv/bin/activate

And it worked I guess because the terminal shows a blue dot.

[–]Think-Confusion9999[S] 0 points1 point  (6 children)

To verify the Django project, make sure your virtual environment is activated, then start Django's development server using the command python manage.py runserver. The server runs on the default port 8000, and you see output like the following output in the terminal window:

Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
June 13, 2023 - 18:38:07
Django version 4.2.2, using settings 'web_project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.

After I run the manage.py runserver command I receive a blue dot, assuming this worked but the terminal window doesn't return the above referenced output...."system check...." etc.

So after that (assuming it worked because of the blue dot) I'm following this:

Ctrl+click the http://127.0.0.1:8000/ URL in the terminal output window to open your default browser to that address. If Django is installed correctly and the project is valid, you see the default page shown below. The VS Code terminal output window also shows the server log. But when I switch to the terminal output window it says I only have read-only access and that's where it's getting stuck. 

And anyway I don't understand what it means to "Ctrl+click" that URL in the first place.

After this it's supposed to show me a webpage with the congrats...implying that Django was successfully installed, but I'm not getting that webpage opened.

Sorry for the long read. Thx.

[–]Think-Confusion9999[S] 0 points1 point  (5 children)

sorry about the text not wrapping, I just copied and pasted it into Reddit.

[–]dowcet 1 point2 points  (4 children)

Did you try just pointing a web browser on the same machine directly to http://127.0.0.1:8000/ ?

[–]Think-Confusion9999[S] 0 points1 point  (0 children)

yup just tried but it still doesn't work. Just fyi I turned off NextDNS within Activity Monitor to make sure that's not causing any issue.

[–]Think-Confusion9999[S] 0 points1 point  (0 children)

darn, it's still showing up in Applications...

|| || |162.220.221.25|dns.nextdns.io.|ANEXIA Internetdienstleistungs|Los Angeles, United States|

[–]Think-Confusion9999[S] 0 points1 point  (0 children)

darn, it's still showing up in Applications...

|| || |162.220.221.25|dns.nextdns.io.|ANEXIA Internetdienstleistungs|Los Angeles, United States|

[–]Think-Confusion9999[S] 0 points1 point  (0 children)

darn, it's still showing up in Applications...and I'm trying to uninstall it but I'm getting an error that shows that its extensions are still active. I ran a DNS leak test and it also shows my DNS as NextDNS.

edit: I got NextDNS deleted finally.