# Upgrade Django v4.1.x

## Release Highlights
- Support for Python 3.11 (as of [Django 4.1.3](https://docs.djangoproject.com/en/4.1/releases/4.1.3/))
    - Python 3.11 has [significant speed advantages](https://docs.python.org/3/whatsnew/3.11.html#whatsnew311-faster-cpython) over Python 3.10. These are worth investigating based on your specific application, but it looks like [you won't need to change your code](https://docs.python.org/3/whatsnew/3.11.html#faq) to get a speed boost.
    - A new version of Python [always has improvements](https://docs.python.org/3/whatsnew/3.11.html) that are worth looking over, to see how they might benefit your Django app.
- async support for [class-based views](https://docs.djangoproject.com/en/4.1/releases/4.1/#asynchronous-handlers-for-class-based-views) and [the ORM](https://docs.djangoproject.com/en/4.1/releases/4.1/#asynchronous-orm-interface)
- Testing [improvements](https://docs.djangoproject.com/en/4.1/releases/4.1/#tests)
- You can now specify a [minimum required version of your database](https://docs.djangoproject.com/en/4.1/releases/4.1/#database-backends)

## Upgrade Gotchas
- Support for [PostgreSQL 10](https://docs.djangoproject.com/en/4.1/releases/4.1/#dropped-support-for-postgresql-10) and [MariaDB 10.2](https://docs.djangoproject.com/en/4.1/releases/4.1/#dropped-support-for-mariadb-10-2) have been dropped
- Multiple features deprecated in Django 3.2 (the prior [LTS release](https://docs.djangoproject.com/en/4.1/internals/release-process/#term-Long-term-support-release)) have been [removed](https://docs.djangoproject.com/en/4.1/releases/4.1/#features-removed-in-4-1)

Source: https://upgradedjango.com/4.1/
