From c99d379f534817edccbe8b23a235e11781508590 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 19 Sep 2018 10:41:22 +0100 Subject: Updated contributing tutorial's virtual environment instructions. --- docs/_ext/djangodocs.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/_ext/djangodocs.py') diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py index b91ccaa37c..19d142b9db 100644 --- a/docs/_ext/djangodocs.py +++ b/docs/_ext/djangodocs.py @@ -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('$ '): -- cgit v1.2.1