------
Features
^^^^^^^^
* New fixtures: ``admin_user``, ``django_user_model`` and
``django_username_field`` (109).
* Automatic discovery of Django projects to make it easier for new users. This
change is slightly backward incompatible, if you encounter problems with it,
the old behaviour can be restored by adding this to ``pytest.ini``,
``setup.cfg`` or ``tox.ini``:
.. code-block:: ini
[pytest]
django_find_project = false
Please see the :ref:`managing_python_path` section for more information.
Bugfixes
^^^^^^^^
* Fix interaction between ``db`` and ``transaction_db`` fixtures (126).
* Fix admin client with custom user models (124). Big thanks to Benjamin
Hedrich and Dmitry Dygalo for patch and tests.
* Fix usage of South migrations, which were unconditionally disabled previously
(22).
* Fixed 119, 134: Call ``django.setup()`` in Django >=1.7 directly after
settings is loaded to ensure proper loading of Django applications. Thanks to
Ionel Cristian Mărieș, Daniel Hahler, Tymur Maryokhin, Kirill SIbirev, Paul
Collins, Aymeric Augustin, Jannis Leidel, Baptiste Mispelon and Anatoly
Bubenkoff for report, discussion and feedback.
* `The `live_server`` fixture can now serve static files also for Django>=1.7
if the ``django.contrib.staticfiles`` app is installed. (140).
* ``DJANGO_LIVE_TEST_SERVER_ADDRESS`` environment variable is read instead
of ``DJANGO_TEST_LIVE_SERVER_ADDRESS``. (140)