#22485: makemigrations fails with dependencies to unmigrated apps
-------------------------------------+-------------------------------------
     Reporter:  apollo13             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Migrations           |                  Version:  master
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  migrations,          |             Triage Stage:  Accepted
  unmigrated, makemigrations         |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by hjwp):

 I'm still seeing a problem.  Repo here:

 {{{
 git clone https://github.com/hjwp/book-example.git   # simple app with
 custom user model
 cd book-example/
 git checkout 841635507
 mkdir ../database
 python3 manage.py migrate
 # errors

 rm accounts/migrations/0001_initial.py  # attempt to recreate migration
 python3 manage.py makemigrations
 python3 manage.py migrate # still errors
 }}}

 Hope it's of use.  I think my custom user model may be a bit weird,
 because when I make an even simpler one (in the chapter_16 branch)
 everything is ok...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22485#comment:30>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.14428d8d884d261aef0af552a61ed595%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to