Visual Studio Django - Freezes on python manage.py createsuperuser

110 Views Asked by At

So, I'm new to Django and am using Visual Studio 2022 with Python 3.12 (which is apparently not fully supported by Visual Studio).

When I start a fresh Django web app project, it prompts for me to create a super user. Doing so, it freezes (without any error message) as it executes "manage.py createsuperuser" (as shown in screenshot). Any suggestions?

enter image description here

1

There are 1 best solutions below

1
On

Have you tried executing the command with python3 manage.py runserver? It may have something to do with the Python version you are using to run the command.

Alternatively, you could try to run the command on the standard terminal for the OS you are using as opposed to the vs code terminal