mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +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:
parent
73b5b0b4a5
commit
d73176a842
3 changed files with 15 additions and 2 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue