Changes between Initial Version and Version 1 of Ticket #29592


Ignore:
Timestamp:
Jul 24, 2018, 6:04:02 PM (6 years ago)
Author:
Jauhar Arifin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29592 – Description

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