mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24848 -- Fixed ValueError for faulty migrations module.
Added apps to unmigrated apps if the migrations module is a file or a folder missing __init__.py. Thanks to Ernest0x for the bug report.
This commit is contained in:
committed by
Tim Graham
parent
73b5b0b4a5
commit
d73176a842
@@ -11,3 +11,6 @@ Bugfixes
|
||||
|
||||
* Fixed ``BaseRangeField.prepare_value()`` to use each ``base_field``’s
|
||||
``prepare_value()`` method (:ticket:`24841`).
|
||||
|
||||
* Fixed crash during :djadmin:`makemigrations` if a migrations module either
|
||||
is missing ``__init__.py`` or is a file (:ticket:`24848`).
|
||||
|
||||
Reference in New Issue
Block a user