#23071: Can't create migration for apps that have ForeignKeys to each other
---------------------------------+------------------------------------
     Reporter:  dekkers          |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  Migrations       |                  Version:  1.7-rc-1
     Severity:  Release blocker  |               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 Andrew Godwin <andrew@…>):

 In [changeset:"6e7e5bacd51d1ab4411c58eea04a137639a0a354"]:
 {{{
 #!CommitTicketReference repository=""
 revision="6e7e5bacd51d1ab4411c58eea04a137639a0a354"
 [1.7.x] Fixed #23071 -- Use last migration's name in dependency to other
 app

 Changed the autodetector to lookup the name of the other app's last
 migration in the graph and use that as dependency instead of using
 __latest__.
 }}}

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

Reply via email to