#24602 closed Uncategorized (fixed)
Custom Field documentation mentions __metaclass__ incorrectly.
Reported by: | Matthew Schinckel | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.8 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Note:
See TracTickets
for help on using tickets.
In 6d7784a7: