#28073: RemoveField.state_forwards() crashes with AttributeError: 'NoneType' 
object
has no attribute 'is_relation'
---------------------------------+-----------------------------------------
     Reporter:  Logan Gunthorpe  |                    Owner:  Pallav Parikh
         Type:  Bug              |                   Status:  closed
    Component:  Migrations       |                  Version:  master
     Severity:  Normal           |               Resolution:  wontfix
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-----------------------------------------
Changes (by felixxm):

 * status:  assigned => closed
 * has_patch:  1 => 0
 * resolution:   => wontfix
 * needs_tests:  1 => 0


Comment:

 Django 2.2 and 3.0 doesn't receive bugfixes anymore. Django 3.1+ raises
 `KeyError` (e.g. `KeyError: 'field_3'`, `KeyError: ('test_one',
 'mymodel2')`) for nonexistent fields or models in manually edited
 migrations which is acceptable, IMO.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28073#comment:19>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6b6dc7071927215aaa7c2cc279918903%40djangoproject.com.

Reply via email to