django-rest-framework/rest_framework/utils
Jon Dufresne f77e794dc8 Fix all BytesWarning caught during tests (#5561)
Running the tests with bytes warning enabled shows some bytes/str
mixups. Fix them all.

Some examples of mixing usage:

str(b'foo') -- calling str() on bytes
b'foo' == 'foo' -- compare str with bytes
'foo' + b'bar' -- concatenating str and bytes
2017-11-06 10:02:48 +01:00
..
__init__.py XML cleanup 2013-02-22 19:46:47 +00:00
breadcrumbs.py Pass initkwargs stored on view to instance 2017-04-06 16:38:28 +04:00
encoders.py JSONEncoder: Don’t strip microseconds from time 2017-09-25 10:10:44 +02:00
field_mapping.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
formatting.py Simplified chained comparisons and minor code fixes (#5276) 2017-07-16 17:12:29 +01:00
html.py Fixed various typos (#4366) 2016-08-08 09:32:22 +01:00
humanize_datetime.py Fleshing out serializer fields 2014-09-09 17:46:28 +01:00
json.py Add docstring to json wrapper module 2017-09-25 09:08:20 +02:00
mediatypes.py Fix all BytesWarning caught during tests (#5561) 2017-11-06 10:02:48 +01:00
model_meta.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
representation.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
serializer_helpers.py Stop JSONBoundField mangling invalid JSON (#5526) (#5527) 2017-10-25 10:54:38 +02:00
urls.py Don't strip empty query params when paginating (#4260) 2016-08-12 10:50:16 +01:00