Kaydet (Commit) 6d7784a7 authored tarafından Tim Graham's avatar Tim Graham

Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom model fields docs.

Thanks schinckel for the report.
üst 3acefcef
...@@ -333,10 +333,10 @@ incorporate arguments of the field. For example, the description for ...@@ -333,10 +333,10 @@ incorporate arguments of the field. For example, the description for
Useful methods Useful methods
-------------- --------------
Once you've created your :class:`~django.db.models.Field` subclass and set up Once you've created your :class:`~django.db.models.Field` subclass, you might
the ``__metaclass__``, you might consider overriding a few standard methods, consider overriding a few standard methods, depending on your field's behavior.
depending on your field's behavior. The list of methods below is in The list of methods below is in approximately decreasing order of importance,
approximately decreasing order of importance, so start from the top. so start from the top.
.. _custom-database-types: .. _custom-database-types:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment