See https://docs.djangoproject.com/en/dev/releases/3.2/
Relevant changes:
-
default_app_config
has been deprecated - New setting
DEFAULT_AUTO_FIELD
. I set it todjango.db.models.AutoField
for backwards compatible but new projects will usedjango.db.models.BigAutoField
. We could also migrate to that if we want. - New function
Queryset.alias()
that can replaceannotate()
if you only use the annotation for filtering/sorting. - The new database function
Random()
might be useful to improve the performance of randomly picking subjects from the database. Not sure though.
A nice aside: No new deprecation warnings for dependencies. However, the last round of deprecation warnings still exists for django-parler.