#26977: Instantiating an abstract model with a string ForeignKey fails with
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes
and types
-------------------------------------+-------------------------------------
     Reporter:  teeberg              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.9
  (models, ORM)                      |
     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
-------------------------------------+-------------------------------------
Changes (by timgraham):

 * cc: charettes (added)
 * needs_better_patch:   => 0
 * component:  Uncategorized => Database layer (models, ORM)
 * needs_tests:   => 0
 * needs_docs:   => 0
 * type:  Cleanup/optimization => Bug
 * stage:  Unreviewed => Accepted


Comment:

 I'm not sure about the correct resolution, but I bisected the change to
 9239f1dda7b94f53d21efb8b5e4d056e24f4e906 and am attaching a reproduction
 test case for Django's test suite.

--
Ticket URL: <https://code.djangoproject.com/ticket/26977#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.b1f8c3463344ad4b178504d550835e28%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to