Changes between Initial Version and Version 1 of Ticket #26488, comment 3


Ignore:
Timestamp:
May 10, 2016, 7:15:20 AM (9 years ago)
Author:
Simon Philips

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26488, comment 3

    initial v1  
    1111        for (app, model_name), model in state.models.items():
    1212            if full_old_name in model.bases:
    13                 model.bases = tuple(full_new_name if b == full_old_name else b
    14                                     for b in model.bases)
     13                model.bases = tuple(full_new_name if base == full_old_name else base
     14                                    for base in model.bases)
    1515
    1616        super().state_forwards(app_label, state)
Back to Top