django-rest-framework/tests
Sébastien Diemer 822b85ac36 routers: invalidate _urls cache on register (#6407)
see https://github.com/encode/django-rest-framework/issues/5660

Trying to register new routes on a router after having accessed the
router `urls` attribute leads to surprising results.
The route is added without error to the router's `registry` but the urls
are not updated, because they are cached in `_urls`.
This commit invalidates the cache after each new registration.
2019-01-17 13:07:57 +00:00
..
browsable_api
importable
__init__.py
conftest.py
models.py Fix #1811: take limit_choices_to into account with FK (#6371) 2019-01-08 13:49:47 +00:00
test_api_client.py
test_atomic_requests.py
test_authentication.py
test_authtoken.py
test_bound_fields.py
test_decorators.py
test_description.py
test_encoders.py
test_exceptions.py
test_fields.py
test_filters.py
test_generics.py
test_htmlrenderer.py
test_lazy_hyperlinks.py
test_metadata.py
test_middleware.py
test_model_serializer.py
test_multitable_inheritance.py
test_negotiation.py
test_one_to_one_with_inheritance.py
test_pagination.py
test_parsers.py
test_permissions.py
test_prefetch_related.py
test_relations_generic.py
test_relations_hyperlink.py
test_relations_pk.py Fix #1811: take limit_choices_to into account with FK (#6371) 2019-01-08 13:49:47 +00:00
test_relations_slug.py
test_relations.py
test_renderers.py
test_request.py
test_requests_client.py
test_response.py
test_reverse.py
test_routers.py routers: invalidate _urls cache on register (#6407) 2019-01-17 13:07:57 +00:00
test_schemas.py
test_serializer_bulk_update.py
test_serializer_lists.py
test_serializer_nested.py
test_serializer.py
test_settings.py
test_status.py
test_templates.py
test_templatetags.py Fix XSS caused by disabled autoescaping in the default DRF Browsable API view templates (#6330) 2019-01-16 12:36:25 +00:00
test_testing.py
test_throttling.py
test_urlpatterns.py
test_utils.py
test_validation_error.py
test_validation.py
test_validators.py
test_versioning.py
test_views.py
test_viewsets.py
test_write_only_fields.py
urls.py
utils.py