File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 11Changelog
22=========
33
4+ v4.0.0 (2020-10-16)
5+ -------------------
6+
7+ Compatibility
8+ ^^^^^^^^^^^^^
9+
10+ This release contains no breaking changes, except dropping compatibility
11+ with some older/unsupported versions.
12+
13+ * Drop support for Python versions before 3.5 (#868).
14+
15+ Previously 2.7 and 3.4 were supported. Running ``pip install pytest-django ``
16+ on Python 2.7 or 3.4 would continue to install the compatible 3.x series.
17+
18+ * Drop support for Django versions before 2.2 (#868).
19+
20+ Previously Django>=1.8 was supported.
21+
22+ * Drop support for pytest versions before 5.4 (#868).
23+
24+ Previously pytest>=3.6 was supported.
25+
26+ Improvements
27+ ^^^^^^^^^^^^
28+
29+ * Officialy support Python 3.9.
30+
31+ * Add ``pytest_django.__version__ `` (#880).
32+
33+ * Minor documentation improvements (#882).
34+
35+ Bugfixes
36+ ^^^^^^^^
37+
38+ * Make the ``admin_user `` and ``admin_client `` fixtures compatible with custom
39+ user models which don't have a ``username `` field (#457).
40+
41+ * Change the ``admin_user `` fixture to use ``get_by_natural_key() `` to get the
42+ user instead of directly using ``USERNAME_FIELD ``, in case it is overridden,
43+ and to match Django (#879).
44+
45+ Misc
46+ ^^^^
47+
48+ * Fix pytest-django's own tests failing due to some deprecation warnings
49+ (#875).
50+
51+
452v3.10.0 (2020-08-25)
553--------------------
654
You can’t perform that action at this time.
0 commit comments