tutorial icon indicating copy to clipboard operation
tutorial copied to clipboard

"python manage.py migrate" didn't work but "python3 manage.py migrate" did

Open basiccreation opened this issue 6 years ago • 1 comments

Issue description

python manage.py migrate on page "Your first Django Project" under "Set up a database"

Describe what's the problem here. python manage.py migrate didn't work but python3 manage.py migrate did

Language

EN Is this related to a specific language of the tutorial? don't know

Operating system

What operating system does this issue relate to? OS

basiccreation avatar May 20 '19 03:05 basiccreation

Hi @basiccreation

Thanks you for your report.

Did you make sure that you have your virtual environment activated? Within the virtual environment, just python should work, too, and should invoke Python 3. We're using that command in our instructions, as the python3 command may not be available on Windows.

das-g avatar May 20 '19 08:05 das-g