mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed typo in custom model field documentation.
This commit is contained in:
parent
e36c165b14
commit
3396d5716b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue