Repository: django-import-export/django-import-export (language: python)

Issue:
tox build fails on django main
**Describe the bug**

Tox build fails when running against lastest django version 

**To Reproduce**

```
tox -e py310-djangomain-tablibstable
```

```
django.utils.deprecation.RemovedInDjango50Warning: The "default.html" templates for forms and formsets will be removed. 
These were proxies to the equivalent "table.html" templates, but the new "div.html" templates will be the default from Django 5.0. 
Transitional renderers are provided to allow you to opt-in to the new output style now. See https://docs.djangoproject.com/en/dev/releases/4.1/ for more details
```

**Versions (please complete the following information):**
 - Django Import Export: 2.8.1
 - Python 3.10
 - Django 4.1
 
https://docs.djangoproject.com/en/dev/releases/4.1/

[test_mixins_fail.txt](https://github.com/django-import-export/django-import-export/files/8873082/test_mixins_fail.txt)




Discussion / hints:
Relates to the `category_list.html` page (referencing `form`) which was added in #692

Fix patch:
diff --git a/docs/changelog.rst b/docs/changelog.rst
index d7f8d03e3..2c40402ca 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -4,7 +4,7 @@ Changelog
 2.8.1 (unreleased)
 ------------------
 
-- Nothing changed yet.
+- Fix deprecation in example application: Added support for transitional form renderer (#1451)
 
 
 2.8.0 (2022-03-31)


Test patch:
diff --git a/tests/settings.py b/tests/settings.py
index 1e37324bc..d76a2458f 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -108,3 +108,5 @@
 
 
 USE_TZ = False
+if django.VERSION >= (4, 1):
+    FORM_RENDERER = "django.forms.renderers.DjangoDivFormRenderer"