django-rest-framework/tests
Kryštof Řeháček 6a95451d72 Fixes #6751 - ModelSerializer fields does not get updated correctly when signals are connected to some fields (#6752)
* fixes #6751

* reverted condition

* save instance before setting m2m fields

* added comment why m2m fields are saved after instance

* removed blank line

* added test for the issue 6751
2019-06-22 09:14:15 +01:00
..
authentication Drop default 'utf-8' to .encode()/.decode() (#6633) 2019-05-01 07:49:16 +02:00
browsable_api Drop default 'utf-8' to .encode()/.decode() (#6633) 2019-05-01 07:49:16 +02:00
generic_relations Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
importable Fix lazy translation of ListField errors (#6708) 2019-05-22 19:41:53 -07:00
schemas Add --generator_class CLI option to generateschema (#6735) 2019-06-09 14:43:54 +02:00
__init__.py Support for running the test suite with py.test 2014-03-02 12:40:30 +01:00
conftest.py Add migration for generic relations Tag model. 2019-02-14 15:57:20 +01:00
models.py Replace all usage ugettext functions with the non-u versions (#6634) 2019-05-01 07:49:54 +02:00
test_api_client.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_atomic_requests.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_authtoken.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_bound_fields.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_decorators.py Remove 3.10 deprecations (#6687) 2019-05-21 10:36:55 -07:00
test_description.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_encoders.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_exceptions.py Replace all usage ugettext functions with the non-u versions (#6634) 2019-05-01 07:49:54 +02:00
test_fields.py Don't cache _readable_fields and _writable_fields (#6689) 2019-05-21 15:45:31 +01:00
test_filters.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_generics.py Drop default 'utf-8' to .encode()/.decode() (#6633) 2019-05-01 07:49:16 +02:00
test_htmlrenderer.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_lazy_hyperlinks.py Lazy hyperlink names (#4554) 2016-10-11 12:18:00 +01:00
test_metadata.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_middleware.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_model_serializer.py Fixes #6751 - ModelSerializer fields does not get updated correctly when signals are connected to some fields (#6752) 2019-06-22 09:14:15 +01:00
test_multitable_inheritance.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_negotiation.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_one_to_one_with_inheritance.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_pagination.py Fix CursorPagination when objects get deleted between calls (#6504) (#6593) 2019-05-20 14:41:31 +01:00
test_parsers.py Drop default 'utf-8' to .encode()/.decode() (#6633) 2019-05-01 07:49:16 +02:00
test_permissions.py Remove 3.10 deprecations (#6687) 2019-05-21 10:36:55 -07:00
test_prefetch_related.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
test_relations_hyperlink.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_relations_pk.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_relations_slug.py fix wrong assert 2017-01-21 02:25:36 +06:00
test_relations.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_renderers.py Remove unnecessary assignments immediately before a return statement (#6619) 2019-05-01 07:51:54 +02:00
test_request.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_requests_client.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_response.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_reverse.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_routers.py Drop default 'utf-8' to .encode()/.decode() (#6633) 2019-05-01 07:49:16 +02:00
test_serializer_bulk_update.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_serializer_lists.py Ensure that html forms (multipart form data) respect optional fields (#5927) 2018-04-20 15:11:52 +02:00
test_serializer_nested.py Ensure that html forms (multipart form data) respect optional fields (#5927) 2018-04-20 15:11:52 +02:00
test_serializer.py Fix nullable source='*' fields (#6659) 2019-05-20 14:58:02 -07:00
test_settings.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_status.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_templates.py Drop default 'utf-8' to .encode()/.decode() (#6633) 2019-05-01 07:49:16 +02:00
test_templatetags.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_testing.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_throttling.py Always call all throttling classes on the view when checking throttles (#6711) 2019-05-23 14:42:29 +01:00
test_urlpatterns.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_utils.py Remove duplicate test in tests/test_utils.py (#6736) 2019-06-07 14:45:34 +01:00
test_validation_error.py more pytest style assert (#4719) 2016-11-30 09:48:33 +00:00
test_validation.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_validators.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_versioning.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_views.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
test_viewsets.py Fix action support for ViewSet suffixes (#6081) 2018-10-02 16:22:21 +02:00
test_write_only_fields.py tests: remove some dead code, use assert 0 for never called methods (#5973) 2018-05-08 13:28:46 +01:00
urls.py Add "optionals not required" build (#6047) 2018-06-22 10:16:57 +02:00
utils.py Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00