Opened 79 minutes ago

Last modified 47 minutes ago

#37452 assigned Cleanup/optimization

Add PowerShell instructions in Windows How To

Reported by: Jonathan Biemond Owned by: Shabir Ahmad Shaik
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Currently the How To for installing Django on Windows includes an instruction to activate the virtual environment with the batch script.

...\> project-name\Scripts\activate.bat

​https://docs.djangoproject.com/en/6.1/howto/windows/#setting-up-a-virtual-environment

Many Windows users are likely to be using PowerShell, and instead they need to use:

...\> project-name\Scripts\activate.ps1

Let's update the tutorial to include the instructions for PowerShell.

Change History (2)

comment:1 by Jonathan Biemond, 66 minutes ago

Owner: changed from Jonathan Biemond to Shabir Ahmad Shaik

comment:2 by Jonathan Biemond, 47 minutes ago

It's worth noting that the next error PowerShell users are likely to run into is being blocked by the ​Execution Policy.

I think this is worth a separate ticket (pending this one's acceptance). Some prior discussion on the forum: ​https://forum.djangoproject.com/t/virtual-environment-on-windows/8445

Note: See TracTickets for help on using tickets.
Back to Top