Changes between Initial Version and Version 1 of Ticket #28073, comment 2


Ignore:
Timestamp:
Apr 14, 2017, 3:46:07 AM (7 years ago)
Author:
Markus Holtermann

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28073, comment 2

    initial v1  
    1 I'm not entirely sure _how_ you got to that line `delay = not old_field.is_relation` with `old_field` being `None` as this means there's no field with that name in `state.models[app_label, self.model_name_lower].fields`, but I think it's safe to go with `delay = old_field is None or not old_field.is_relation`.
     1I'm not entirely sure ''how'' you got to that line `delay = not old_field.is_relation` with `old_field` being `None` as this means there's no field with that name in `state.models[app_label, self.model_name_lower].fields`, but I think it's safe to go with `delay = old_field is None or not old_field.is_relation`.
Back to Top