#29749: allow private packages in migrations (regression)
---------------------------------------+------------------------
               Reporter:  felixhummel  |          Owner:  nobody
                   Type:  Bug          |         Status:  new
              Component:  Migrations   |        Version:  2.1
               Severity:  Normal       |       Keywords:
           Triage Stage:  Unreviewed   |      Has patch:  0
    Needs documentation:  0            |    Needs tests:  0
Patch needs improvement:  0            |  Easy pickings:  0
                  UI/UX:  0            |
---------------------------------------+------------------------
 Steps:

 - create a module `_utils.py` in `someapp.migrations`
 - run `./manage.py migrate`

 Expected:

 - migrations are run

 Actual:

 - `django.db.migrations.exceptions.BadMigrationError: Migration _utils in
 app someapp has no Migration class`

 Notes:

 - Commit that changed the behavior:
 
https://github.com/django/django/commit/29150d5da880ac1db15e47052330790cf1b802d2
 #diff-a0eecbfcd2a528c7502db192412c5a16L106
 - IRC conversation (thanks to knbk for the link to the commit)
 https://botbot.me/freenode/django/2018-09-10/?msg=104204672&page=8 and
 https://botbot.me/freenode/django/2018-09-10/?msg=104204672&page=9

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29749>
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/054.46e2f9e763a35b6f788878e42257f48b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to