#31416: FieldError when migrating field to new model subclass.
-------------------------------+------------------------------------
     Reporter:  Eduard Anghel  |                    Owner:  Nan Liu
         Type:  Bug            |                   Status:  assigned
    Component:  Migrations     |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by Nan Liu):

 Replying to [comment:13 Nan Liu]:
 > Hi Y'all,
 >
 > I was looking into this test case
 
[https://github.com/django/django/blob/6fbce45b0376f0ec8f3bf244f4f1f8d62c201f58/tests/model_inheritance/test_abstract_inheritance.py#L160-L173].
 This case seems to cover the case for this problem, but the issue is
 `python manage.py migrate` throws an error that we want to handle. Or
 there is no need to write a test case for that since we just want to
 change the behavior? if we do need test cases, How should I go about
 writing the unit test? Much appreciated!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31416#comment:14>
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/070.f290a032e54daa87eb2a2fbe6233425d%40djangoproject.com.

Reply via email to