mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Updating docs
This commit is contained in:
parent
02b29267ac
commit
78c53d530f
|
@ -56,6 +56,13 @@ A dictionary of error codes to error messages.
|
|||
Used only if rendering the field to HTML.
|
||||
This argument sets the widget that should be used to render the field.
|
||||
|
||||
### `label`
|
||||
|
||||
A short text string that may be used as the name of the field in HTML form fields or other descriptive elements.
|
||||
|
||||
### `help_text`
|
||||
|
||||
A text string that may be used as a description of the field in HTML form fields or other descriptive elements.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -42,8 +42,19 @@ You can determine your currently installed version using `pip freeze`:
|
|||
|
||||
### Master
|
||||
|
||||
* Serializer fields now support `label` and `help_text`.
|
||||
* Added `UnicodeJSONRenderer`.
|
||||
* Bugfix: `charset` now properly included in `Content-Type` of responses.
|
||||
* Bugfix: Blank choice now added in browsable API on nullable relationships.
|
||||
* Bugfix: Many to many relationships with `through` tables are now read-only.
|
||||
* Bugfix: Serializer fields now respect model field args such as `max_length`.
|
||||
* Bugfix: SlugField now performs slug validation.
|
||||
* Bugfix: Lazy-translatable strings now properly serialized.
|
||||
* Bugfix: Browsable API now supports bootswatch styles properly.
|
||||
* Bugfix: HyperlinkedIdentityField now uses `lookup_field` kwarg.
|
||||
|
||||
**Note**: Responses now correctly include an appropriate charset on the `Content-Type` header. For example: `application/json; charset=utf-8`. If you have tests that check the content type of responses, you may need to update these accordingly.
|
||||
|
||||
### 2.3.3
|
||||
|
||||
**Date**: 16th May 2013
|
||||
|
|
Loading…
Reference in New Issue
Block a user