#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 ---------------------------------+------------------------------------ Changes (by Jeroen Dekkers <jeroen@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"3582698c138a7a311d12a57d0b35359815e8dbc9"]: {{{ #!CommitTicketReference repository="" revision="3582698c138a7a311d12a57d0b35359815e8dbc9" 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:3> 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.0e99cca9c8cd41449c9d7b352e405a2c%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.