mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 16:24:18 +03:00
Link to Django docs on widgets. Closes #1760.
This commit is contained in:
parent
b9cb9929b9
commit
6edbabe0e1
|
@ -62,7 +62,7 @@ A dictionary of error codes to error messages.
|
||||||
### `widget`
|
### `widget`
|
||||||
|
|
||||||
Used only if rendering the field to HTML.
|
Used only if rendering the field to HTML.
|
||||||
This argument sets the widget that should be used to render the field.
|
This argument sets the widget that should be used to render the field. For more details, and a list of available widgets, see [the Django documentation on form widgets][django-widgets].
|
||||||
|
|
||||||
### `label`
|
### `label`
|
||||||
|
|
||||||
|
@ -370,6 +370,7 @@ The [django-rest-framework-gis][django-rest-framework-gis] package provides geog
|
||||||
[FILE_UPLOAD_HANDLERS]: https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-FILE_UPLOAD_HANDLERS
|
[FILE_UPLOAD_HANDLERS]: https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-FILE_UPLOAD_HANDLERS
|
||||||
[ecma262]: http://ecma-international.org/ecma-262/5.1/#sec-15.9.1.15
|
[ecma262]: http://ecma-international.org/ecma-262/5.1/#sec-15.9.1.15
|
||||||
[strftime]: http://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
|
[strftime]: http://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
|
||||||
|
[django-widgets]: https://docs.djangoproject.com/en/dev/ref/forms/widgets/
|
||||||
[iso8601]: http://www.w3.org/TR/NOTE-datetime
|
[iso8601]: http://www.w3.org/TR/NOTE-datetime
|
||||||
[drf-compound-fields]: http://drf-compound-fields.readthedocs.org
|
[drf-compound-fields]: http://drf-compound-fields.readthedocs.org
|
||||||
[drf-extra-fields]: https://github.com/Hipo/drf-extra-fields
|
[drf-extra-fields]: https://github.com/Hipo/drf-extra-fields
|
||||||
|
|
Loading…
Reference in New Issue
Block a user