========================== Django 5.1.4 release notes ========================== *December 4, 2024* Django 5.1.4 fixes one security issue with severity "high", one security issue with severity "moderate", and several bugs in 5.1.3. Bugfixes ======== * Fixed a crash in ``createsuperuser`` on Python 3.13+ caused by an unhandled ``OSError`` when the username could not be determined (:ticket:`35942`). * Fixed a regression in Django 5.1 where relational fields were not updated when calling ``Model.refresh_from_db()`` on instances with deferred fields (:ticket:`35950`).