Fixed #35942 -- Fixed createsuperuser crash on Python 3.13+ when username is unavailable.

Thanks Mariusz Felisiak and Jacob Tyler Walls for reviews.
This commit is contained in:
Tommy Allen 2024-11-26 15:15:00 -05:00 committed by GitHub
parent 2e190a48d6
commit c635decb00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 5 deletions

View file

@ -9,4 +9,5 @@ Django 5.1.4 fixes 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`).