[Django] #24602: Custom Field documentation mentions __metaclass__ incorrectly.

7 views
Skip to first unread message

Django

unread,
Apr 8, 2015, 7:31:54 AM4/8/15
to django-...@googlegroups.com
#24602: Custom Field documentation mentions __metaclass__ incorrectly.
-------------------------------+--------------------
Reporter: schinckel | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
The page https://docs.djangoproject.com/en/dev/howto/custom-model-fields
/#useful-methods specifically says: "Once you’ve created your Field
subclass and set up the `__metaclass__`,", but metaclasses are not
mentioned prior to this.

I think this is something that should have been changed with the phasing
out of the SubFieldBase metaclass.

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

Django

unread,
Apr 8, 2015, 8:36:43 AM4/8/15
to django-...@googlegroups.com
#24602: Custom Field documentation mentions __metaclass__ incorrectly.
---------------------------+----------------------------
Reporter: schinckel | Owner: nobody
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.8
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+----------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"6d7784a7b994eb8287ec851b22acb5170e77a90a" 6d7784a7]:
{{{
#!CommitTicketReference repository=""
revision="6d7784a7b994eb8287ec851b22acb5170e77a90a"
Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom
model fields docs.

Thanks schinckel for the report.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24602#comment:1>

Django

unread,
Apr 8, 2015, 8:36:51 AM4/8/15
to django-...@googlegroups.com
#24602: Custom Field documentation mentions __metaclass__ incorrectly.
---------------------------+----------------------------
Reporter: schinckel | Owner: nobody
Type: Uncategorized | Status: closed
Component: Documentation | Version: 1.8
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+----------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"d11e87bff50a9b53de2fe683740fb875d3d2d9e9" d11e87bf]:
{{{
#!CommitTicketReference repository=""
revision="d11e87bff50a9b53de2fe683740fb875d3d2d9e9"
[1.8.x] Fixed #24602 -- Removed obsolete reference to __metaclass__ in
custom model fields docs.

Thanks schinckel for the report.

Backport of 6d7784a7b994eb8287ec851b22acb5170e77a90a from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24602#comment:2>

Reply all
Reply to author
Forward
0 new messages