Changes between Version 1 and Version 2 of Ticket #27933


Ignore:
Timestamp:
Mar 12, 2017, 10:10:49 AM (8 years ago)
Author:
Jindi Wu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27933 – Description

    v1 v2  
    1 Remove foreign key b and unique_togetehr constraint from model like following:
     1Remove foreign key `b` and `unique_together` constraint from model like following:
    22{{{
    33class A(models.Model):
     
    3232}}}
    3333
    34 However if swap the order of generated two operations within the migration AlterUniqueTogether and RemoveField, it'll work.
     34However if swap the order of generated two operations within the migration `AlterUniqueTogether` and `RemoveField`, it'll work.
    3535
    3636Is this a bug or am I using Django the wrong way?
Back to Top