mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #30116 -- Dropped support for Python 3.5.
This commit is contained in:
parent
5a5c77d55d
commit
7e6b214ed3
23 changed files with 25 additions and 141 deletions
|
@ -90,12 +90,12 @@ In addition to the default environments, ``tox`` supports running unit tests
|
|||
for other versions of Python and other database backends. Since Django's test
|
||||
suite doesn't bundle a settings file for database backends other than SQLite,
|
||||
however, you must :ref:`create and provide your own test settings
|
||||
<running-unit-tests-settings>`. For example, to run the tests on Python 3.5
|
||||
<running-unit-tests-settings>`. For example, to run the tests on Python 3.7
|
||||
using PostgreSQL::
|
||||
|
||||
$ tox -e py35-postgres -- --settings=my_postgres_settings
|
||||
$ tox -e py37-postgres -- --settings=my_postgres_settings
|
||||
|
||||
This command sets up a Python 3.5 virtual environment, installs Django's
|
||||
This command sets up a Python 3.7 virtual environment, installs Django's
|
||||
test suite dependencies (including those for PostgreSQL), and calls
|
||||
``runtests.py`` with the supplied arguments (in this case,
|
||||
``--settings=my_postgres_settings``).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue