mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Added 'python' to the console command in contributing.txt for clarity
This commit is contained in:
parent
12ffcfc350
commit
88f2184cd3
@ -222,7 +222,7 @@ some other flavor of Unix, run:
|
|||||||
|
|
||||||
.. console::
|
.. console::
|
||||||
|
|
||||||
$ ./runtests.py
|
$ python ./runtests.py
|
||||||
|
|
||||||
Now sit back and relax. Django's entire test suite has thousands of tests, and
|
Now sit back and relax. Django's entire test suite has thousands of tests, and
|
||||||
it takes at least a few minutes to run, depending on the speed of your
|
it takes at least a few minutes to run, depending on the speed of your
|
||||||
@ -361,7 +361,7 @@ that's really what happens. ``cd`` to the Django ``tests/`` directory and run:
|
|||||||
|
|
||||||
.. console::
|
.. console::
|
||||||
|
|
||||||
$ ./runtests.py shortcuts
|
$ python ./runtests.py shortcuts
|
||||||
|
|
||||||
If the tests ran correctly, you should see one failure corresponding to the test
|
If the tests ran correctly, you should see one failure corresponding to the test
|
||||||
method we added, with this error:
|
method we added, with this error:
|
||||||
@ -390,7 +390,7 @@ whether the code we added is working correctly. Again, navigate to the Django
|
|||||||
|
|
||||||
.. console::
|
.. console::
|
||||||
|
|
||||||
$ ./runtests.py shortcuts
|
$ python ./runtests.py shortcuts
|
||||||
|
|
||||||
Everything should pass. If it doesn't, make sure you correctly added the
|
Everything should pass. If it doesn't, make sure you correctly added the
|
||||||
function to the correct file.
|
function to the correct file.
|
||||||
@ -409,7 +409,7 @@ directory and run:
|
|||||||
|
|
||||||
.. console::
|
.. console::
|
||||||
|
|
||||||
$ ./runtests.py
|
$ python ./runtests.py
|
||||||
|
|
||||||
Writing Documentation
|
Writing Documentation
|
||||||
=====================
|
=====================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user