#22170: Add initial migrations for contrib apps
-----------------------------+------------------------------------
     Reporter:  timo         |                    Owner:
         Type:  New feature  |                   Status:  new
    Component:  Migrations   |                  Version:  master
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Accepted
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  1
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+------------------------------------
Changes (by claudep):

 * needs_better_patch:  0 => 1
 * stage:  Ready for checkin => Accepted


Comment:

 Back to accepted:
  * Loïc suggested a workaround to the `initial.py` vs `0001_initial.py`
 naming issue in auth.
  * I must have forgotten to include the sessions migration
  * A more serious issue I discovered is about the `auth` and
 `MIGRATION_MODULES` hack in `runtests.py`:
    if we include the `MIGRATION_MODULES` hack in `runtests.py` and don't
 include `django.contrib.auth` in tested labels, the creation of the test
 database fails because the `flush` command fails (`auth_customuser` table
 missing).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22170#comment:5>
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/062.b70be1d0eb060acbb40afa84fbb1c9cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to