1
0
mirror of https://github.com/django/django.git synced 2025-10-27 23:56:08 +00:00

[2.1.x] Updated contributing tutorial's virtual environment instructions.

Backport of c99d379f53 from master
This commit is contained in:
Thomas Grainger
2018-09-19 10:41:22 +01:00
committed by Tim Graham
parent 322b70f605
commit 1d9725504c
2 changed files with 20 additions and 33 deletions

View File

@@ -320,6 +320,8 @@ class ConsoleDirective(CodeBlock):
return 'runtests.py ' + args_to_win(line[15:])
if line.startswith('$ ./'):
return args_to_win(line[4:])
if line.startswith('$ python3'):
return 'py ' + args_to_win(line[9:])
if line.startswith('$ python'):
return 'py ' + args_to_win(line[8:])
if line.startswith('$ '):