1
0
mirror of https://github.com/django/django.git synced 2025-01-26 18:19:18 +00:00
Tim Graham f529d0cb58 [1.10.x] Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved model instances.
This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc
but is needed to prevent a crash in formtools.

Backport of a4c20ae85b40c49e28d1b2227208e4f00d7820df from master
2016-05-28 16:06:06 -04:00
..
2015-08-22 20:25:42 +02:00
2015-08-22 20:25:42 +02:00
2016-05-02 11:43:03 -04:00
2016-04-04 17:14:26 -04:00

To run the test suite::

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

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