Changes between Version 1 and Version 3 of Ticket #29592


Ignore:
Timestamp:
Jul 24, 2018, 7:00:11 PM (6 years ago)
Author:
Jauhar Arifin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29592

    • Property Owner changed from nobody to Jauhar Arifin
    • Property Status newassigned
  • Ticket #29592 – Description

    v1 v3  
    3333}}}
    3434
    35 This happens because dog model has no fields. It generates migrations like this:
     35This happens because dog model has no fields.
    3636
    37 
    38 {{{
    39 operations = [
    40     migrations.RemoveField(
    41         model_name='dog',
    42         name='animal_ptr',
    43     ),
    44     migrations.DeleteModel(
    45         name='Dog',
    46     ),
    47 ]
    48 }}}
    49 
    50 But, it should be just like this:
    51 
    52 {{{
    53 operations = [
    54     migrations.DeleteModel(
    55         name='Dog',
    56     ),
    57 ]
    58 }}}
    59 
Back to Top