mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +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("$ # "):
|
||||
return "REM " + args_to_win(line[4:])
|
||||
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"):
|
||||
return "manage.py " + args_to_win(line[11:])
|
||||
return "py manage.py " + args_to_win(line[11:])
|
||||
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("$ ./"):
|
||||
return args_to_win(line[4:])
|
||||
if line.startswith("$ python3"):
|
||||
|
Loading…
Reference in New Issue
Block a user