#24848: makemigrations fails with 'ValueError: Dependency on unknown app' when
migrations module exists without __init__.py
----------------------------+------------------------------------
     Reporter:  Ernest0x    |                    Owner:  knbk
         Type:  Bug         |                   Status:  closed
    Component:  Migrations  |                  Version:  1.8
     Severity:  Normal      |               Resolution:  fixed
     Keywords:              |             Triage Stage:  Accepted
    Has patch:  1           |      Needs documentation:  0
  Needs tests:  0           |  Patch needs improvement:  0
Easy pickings:  0           |                    UI/UX:  0
----------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"1ac4c7d415750ddc648cbf888bc2fbcde933f799" 1ac4c7d4]:
 {{{
 #!CommitTicketReference repository=""
 revision="1ac4c7d415750ddc648cbf888bc2fbcde933f799"
 [1.8.x] 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.

 Backport of d73176a84273c06fa11075c65293ec28497a8423 from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24848#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.ee3545b5570d75c36b0c17a9634fdb09%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to