0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Correct number of extra arguments in docs for FilePathField.

This commit is contained in:
bellisk 2016-04-03 12:21:37 +02:00 committed by Marc Tamlyn
parent 9378229c5e
commit c08ad63a33

View File

@ -621,7 +621,7 @@ For each field, we describe the default widget used if you don't specify
* Validates that the selected choice exists in the list of choices. * Validates that the selected choice exists in the list of choices.
* Error message keys: ``required``, ``invalid_choice`` * Error message keys: ``required``, ``invalid_choice``
The field allows choosing from files inside a certain directory. It takes three The field allows choosing from files inside a certain directory. It takes five
extra arguments; only ``path`` is required: extra arguments; only ``path`` is required:
.. attribute:: path .. attribute:: path