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


Ignore:
Timestamp:
May 11, 2016, 4:04:23 AM (8 years ago)
Author:
Simon Philips

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26488, comment 4

    initial v1  
    2222        for state_model in state.models.values():
    2323            if full_old_name in state_model.bases:
    24                 state_model.bases = tuple(full_new_name if b == full_old_name else b
    25                                           for b in state_model.bases)
     24                state_model.bases = tuple(
     25                    full_new_name if b == full_old_name else b
     26                    for b in state_model.bases
     27                )
    2628        # Repoint the FKs and M2Ms pointing to us
    2729        for related_object in all_related_objects:
Back to Top