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 XML cleanup 2013-02-22 19:46:47 +00:00
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 Ensure that html forms (multipart form data) respect optional fields (#5927) 2018-04-20 15:11:52 +02:00
humanize_datetime.py Change ISO 8601 date format to exclude year/month (#5936) 2018-04-14 05:23:31 +01:00
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 Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +01:00
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