#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: Jonas Trappenberg | Owner: Jacob
Type: | Walls
Cleanup/optimization | Status: closed
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"c7e7f176c13b1070c689feb5255c07b524933e12" c7e7f17]:
{{{
#!CommitTicketReference repository=""
revision="c7e7f176c13b1070c689feb5255c07b524933e12"
Fixed #26977 -- Made abstract models raise TypeError when instantiating.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26977#comment:11>
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.6245c5c96369e3157ab16166b3783fc3%40djangoproject.com.