#19688: It's not possible to use `six.with_metaclass` to subclass `models.Model`
with a custom metaclass.
---------------------------+-------------------------------------
Reporter: charettes | Owner: charettes
Type: Bug | Status: closed
Component: Python 3 | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------+-------------------------------------
Comment (by Aymeric Augustin <aymeric.augustin@…>):
In [changeset:"f8b41da43156aa4283c83f2e579e8b18157c9b20"]:
{{{
#!CommitTicketReference repository=""
revision="f8b41da43156aa4283c83f2e579e8b18157c9b20"
[1.5.x] Fixed #19688 -- Allow model subclassing with a custom metaclass
using six.with_metaclass
Backport of 6b03179e126d4df01623dccc162c1579f349e41e from master.
Although we're post RC 2, I'm backporting this because it's arguably a
major bug in a new feauture that will prevent several well-known
third-party apps from being ported to Python 3.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/19688#comment:5>
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].
For more options, visit https://groups.google.com/groups/opt_out.