django-rest-framework/rest_framework/utils
Alex Hedlund b256c46cb1
Render JSON fields with proper indentation in browsable API forms. (#6243)
* Fix JSONBoundField usage on nested serializers (#6211)

* Unify JSONBoundField as_form_field output between py2 and py3

When using json.dumps with indenting, in python2 the default formatting
prints whitespace after commas (,) and python3 does not. This can be
unified with the separators keyword argument.
2021-03-15 10:44:03 +00:00
..
__init__.py
breadcrumbs.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
encoders.py replace force_text with force_str 2019-08-07 21:05:24 +02:00
field_mapping.py Bump flake8 to 3.8.3 (#7521) 2020-09-05 10:02:27 +02:00
formatting.py replace force_text with force_str 2019-08-07 21:05:24 +02:00
html.py
humanize_datetime.py
json.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
mediatypes.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
model_meta.py
representation.py replace force_text with force_str 2019-08-07 21:05:24 +02:00
serializer_helpers.py Render JSON fields with proper indentation in browsable API forms. (#6243) 2021-03-15 10:44:03 +00:00
urls.py Remove unnecessary type conversions (#7526) 2020-09-08 15:42:01 +01:00