Changes between Initial Version and Version 1 of Ticket #32457


Ignore:
Timestamp:
Feb 17, 2021, 5:47:41 PM (4 years ago)
Author:
Christian Bundy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32457 – Description

    initial v1  
    1212Action behavior:
    1313
    14       File "/usr/local/lib/python3.9/site-packages/django/db/migrations/operations/fields.py", line 158, in state_forwards
    15         old_field = model_state.fields.pop(self.name)
    16     KeyError: 'last_name'
     14{{{
     15  File "/usr/local/lib/python3.9/site-packages/django/db/migrations/operations/fields.py", line 158, in state_forwards
     16    old_field = model_state.fields.pop(self.name)
     17KeyError: 'last_name'
     18}}}
     19
    1720
    1821Relevant Django code: https://github.com/django/django/blob/d02d60eb0f032c9395199fb73c6cd29ee9bb2646/django/db/migrations/operations/fields.py#L162
Back to Top