1
0
mirror of https://github.com/django/django.git synced 2025-03-22 23:30:45 +00:00
Claude Paroz ca58a405fc [1.11.x] Refs #27622 -- Fixed a regression in JSON content-type detection
A JSON Content-Type can contain further content, like charset for example.
Backport of 145f6c3ed6e8856078e2d04ff2567e9fb4a17930 from master.
2017-03-07 17:00:20 +01:00
..
2016-11-14 12:30:46 -05:00
2015-08-22 20:25:42 +02:00
2016-11-14 12:30:46 -05:00
2015-08-22 20:25:42 +02:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00
2016-11-14 12:30:46 -05:00

To run the test suite, first, create and activate a virtual environment. Then
install some requirements and run the tests::

    $ cd tests
    $ pip install -e ..
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.