1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

Fixed typo in custom model field documentation.

This commit is contained in:
Baptiste Mispelon 2013-12-05 23:07:50 +01:00
parent e36c165b14
commit 3396d5716b

View File

@ -251,7 +251,7 @@ you'll need to supplement the values being passed.
The contract of ``deconstruct`` is simple; it returns a tuple of four items:
the field's attribute name, the full import path of the field class, the
position arguments (as a list), and the keyword arguments (as a dict).
positional arguments (as a list), and the keyword arguments (as a dict).
As a custom field author, you don't need to care about the first two values;
the base ``Field`` class has all the code to work out the field's attribute