mirror of
https://github.com/django/django.git
synced 2025-06-07 20:49:11 +00:00
Standardized Windows console commands to use py for Python scripts in docs.
This commit is contained in:
parent
1857b6663b
commit
d59c7951eb
@ -335,11 +335,11 @@ class ConsoleDirective(CodeBlock):
|
|||||||
if line.startswith("$ # "):
|
if line.startswith("$ # "):
|
||||||
return "REM " + args_to_win(line[4:])
|
return "REM " + args_to_win(line[4:])
|
||||||
if line.startswith("$ ./manage.py"):
|
if line.startswith("$ ./manage.py"):
|
||||||
return "manage.py " + args_to_win(line[13:])
|
return "py manage.py " + args_to_win(line[13:])
|
||||||
if line.startswith("$ manage.py"):
|
if line.startswith("$ manage.py"):
|
||||||
return "manage.py " + args_to_win(line[11:])
|
return "py manage.py " + args_to_win(line[11:])
|
||||||
if line.startswith("$ ./runtests.py"):
|
if line.startswith("$ ./runtests.py"):
|
||||||
return "runtests.py " + args_to_win(line[15:])
|
return "py runtests.py " + args_to_win(line[15:])
|
||||||
if line.startswith("$ ./"):
|
if line.startswith("$ ./"):
|
||||||
return args_to_win(line[4:])
|
return args_to_win(line[4:])
|
||||||
if line.startswith("$ python3"):
|
if line.startswith("$ python3"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user