mirror of
https://github.com/django/django.git
synced 2024-12-24 01:55:49 +00:00
[1.8.x] Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom model fields docs.
Thanks schinckel for the report.
Backport of 6d7784a7b9
from master
This commit is contained in:
parent
9e87017a38
commit
d11e87bff5
@ -339,10 +339,10 @@ incorporate arguments of the field. For example, the description for
|
||||
Useful methods
|
||||
--------------
|
||||
|
||||
Once you've created your :class:`~django.db.models.Field` subclass and set up
|
||||
the ``__metaclass__``, you might consider overriding a few standard methods,
|
||||
depending on your field's behavior. The list of methods below is in
|
||||
approximately decreasing order of importance, so start from the top.
|
||||
Once you've created your :class:`~django.db.models.Field` subclass, you might
|
||||
consider overriding a few standard methods, depending on your field's behavior.
|
||||
The list of methods below is in approximately decreasing order of importance,
|
||||
so start from the top.
|
||||
|
||||
.. _custom-database-types:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user