django-rest-framework/tests
Miro Hrončok ffdac0d936 TokenAuthentication: Allow custom keyword in the header (#4097)
This allows subclassing TokenAuthentication and setting custom keyword,
thus allowing the Authorization header to be for example:

    Bearer 956e252a-513c-48c5-92dd-bfddc364e812

It doesn't change the behavior of TokenAuthentication itself,
it simply allows to reuse the logic of TokenAuthentication without
the need of copy pasting the class and changing one hardcoded string.

Related: #4080
2016-05-04 10:53:34 +01:00
..
browsable_api Fix warnings when running tests (#4047) 2016-04-11 14:13:11 +01:00
__init__.py Support for running the test suite with py.test 2014-03-02 12:40:30 +01:00
conftest.py Simplify test settings 2015-03-14 15:57:22 -04:00
description.py Sort imports with isort 2015-06-25 16:55:51 -04:00
models.py Fix None UUID ForeignKey serialization 2016-02-16 09:29:48 +01:00
test_atomic_requests.py Merge branch 'drop-django-16' oft https://github.com/carltongibson/django-rest-framework into carltongibson-drop-django-16 2015-09-28 11:17:48 +01:00
test_authentication.py TokenAuthentication: Allow custom keyword in the header (#4097) 2016-05-04 10:53:34 +01:00
test_bound_fields.py Added test case for rendering nested fields with none value 2015-11-27 15:07:29 +02:00
test_decorators.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_description.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_exceptions.py Added test case for #3908 2016-02-07 19:26:37 +03:00
test_fields.py Fixed DecimalField arbitrary precision support (#4075) 2016-04-27 17:04:01 +01:00
test_filters.py OrderingFilter adjustements (#3983) 2016-04-08 15:37:23 +01:00
test_generics.py Remove old django checks from tests and compat 2016-02-19 01:47:45 +05:30
test_htmlrenderer.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_metadata.py Include nested objects in metadata for OPTIONS. Closes #3156. Closes #2915. 2015-07-16 15:17:18 +01:00
test_middleware.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_model_serializer.py Fix warnings when running tests (#4047) 2016-04-11 14:13:11 +01:00
test_multitable_inheritance.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_negotiation.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_pagination.py Remove informations about why the pagination didn't work. 2016-02-17 18:18:19 +01:00
test_parsers.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_permissions.py Remove unittest.skipUnless 2015-09-22 16:24:22 +02:00
test_relations_generic.py Remove ContentType import fallback 2015-09-22 15:55:39 +02:00
test_relations_hyperlink.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_relations_pk.py Test deserialising data including None fk 2016-02-16 09:38:42 +01:00
test_relations_slug.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_relations.py Fix empty pk detection in HyperlinkRelatedField.get_url 2016-03-07 19:37:48 +01:00
test_renderers.py Fixes AttributeError in HTMLFormRenderer.render 2016-01-26 21:26:30 +03:00
test_request.py Remove old django checks from tests and compat 2016-02-19 01:47:45 +05:30
test_response.py More cleanup of browser overrides 2015-09-28 15:33:55 +01:00
test_reverse.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_routers.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_serializer_bulk_update.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_serializer_lists.py Proof of bug #2761 2015-09-19 10:17:57 -04:00
test_serializer_nested.py Add test coverage on allow_empty for nested serializers. 2015-09-07 23:11:01 +02:00
test_serializer.py Add assert statement to .save() method in Serializer: 2015-09-22 11:49:51 -07:00
test_settings.py Lint import ordring 2015-12-16 18:46:23 -06:00
test_status.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_templatetags.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_testing.py Raise helpful error when erronously including nested data in multipart post requests with test client. Closes #2919. 2015-07-14 14:49:44 +01:00
test_throttling.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_urlpatterns.py Runtests should not suppress stdout. In the context of a web app only serves to hide erronous print statements. 2015-07-16 11:50:22 +01:00
test_utils.py Merge pull request #3273 from olliewalsh/breadcrumbs_view_name 2016-03-23 01:10:13 +01:00
test_validation.py Fix nested validation error being rendered incorrectly. 2016-01-06 16:05:43 +13:00
test_validators.py Use model error_messages when available 2015-09-23 15:20:44 +02:00
test_versioning.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_views.py Remove method and content overriding 2015-09-17 15:17:29 +01:00
test_viewsets.py Sort imports with isort 2015-06-25 16:55:51 -04:00
test_write_only_fields.py Sort imports with isort 2015-06-25 16:55:51 -04:00
urls.py Remove django.conf.urls.pattern as it'll be removed in Django 2.0 2015-06-11 00:45:23 +02:00
utils.py Fix NamespaceVersioning with hyperlinked serializer fields 2015-02-05 00:58:09 +00:00