#32263: squashmigrations produces incorrect result with a RenameModel on a
ForeignKey target.
-------------------------------------+-------------------------------------
     Reporter:  InvalidInterrupt     |                    Owner:  Anvesh
                                     |  Mishra
         Type:  Bug                  |                   Status:  assigned
    Component:  Migrations           |                  Version:  3.1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Anvesh Mishra):

 Replying to [comment:7 Simon Charette]:
 > Feels like it's the same class of issue as #32256 but for `RenameModel`
 instead of `RenameField` (7c18b22e2fa70aa8dcfadb33beb17933abdf7ee4)
 >
 >
 
https://github.com/django/django/blob/64a0d1ef6e7a6739148996e9584bbb61fe3dcc60/django/db/migrations/operations/models.py#L425-L430

 Tried doing the same with `RenameModel.reduce()` dosen't seem to be
 working might have to look out for something else.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32263#comment:9>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701837b23663f-67a9b657-ad6d-4027-a88d-45654205b39d-000000%40eu-central-1.amazonses.com.

Reply via email to