mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 21:14:01 +03:00
Version 2.3.4
This commit is contained in:
parent
fcaee6e580
commit
2a38aa7291
|
@ -40,7 +40,9 @@ You can determine your currently installed version using `pip freeze`:
|
||||||
|
|
||||||
## 2.3.x series
|
## 2.3.x series
|
||||||
|
|
||||||
### Master
|
### 2.3.4
|
||||||
|
|
||||||
|
**Date**: 24th May 2013
|
||||||
|
|
||||||
* Serializer fields now support `label` and `help_text`.
|
* Serializer fields now support `label` and `help_text`.
|
||||||
* Added `UnicodeJSONRenderer`.
|
* Added `UnicodeJSONRenderer`.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
__version__ = '2.3.3'
|
__version__ = '2.3.4'
|
||||||
|
|
||||||
VERSION = __version__ # synonym
|
VERSION = __version__ # synonym
|
||||||
|
|
||||||
|
|
|
@ -507,10 +507,7 @@ class BrowsableAPIRenderer(BaseRenderer):
|
||||||
|
|
||||||
def render(self, data, accepted_media_type=None, renderer_context=None):
|
def render(self, data, accepted_media_type=None, renderer_context=None):
|
||||||
"""
|
"""
|
||||||
Renders *obj* using the :attr:`template` set on the class.
|
Render the HTML for the browsable API representation.
|
||||||
|
|
||||||
The context used in the template contains all the information
|
|
||||||
needed to self-document the response to this request.
|
|
||||||
"""
|
"""
|
||||||
accepted_media_type = accepted_media_type or ''
|
accepted_media_type = accepted_media_type or ''
|
||||||
renderer_context = renderer_context or {}
|
renderer_context = renderer_context or {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user