Changes between Initial Version and Version 1 of Ticket #26488, comment 4
- Timestamp:
- May 11, 2016, 4:04:23 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26488, comment 4
initial v1 22 22 for state_model in state.models.values(): 23 23 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 ) 26 28 # Repoint the FKs and M2Ms pointing to us 27 29 for related_object in all_related_objects: