Tom Carrick
|
dcb69043d0
Fixed #32002 -- Added headers parameter to HttpResponse and subclasses.
|
4 anni fa |
Tom Carrick
|
bcc2befd0e
Fixed #31789 -- Added a new headers interface to HttpResponse.
|
4 anni fa |
Claude Paroz
|
4d973f5939
Refs #26601 -- Deprecated passing None as get_response arg to middleware classes.
|
5 anni fa |
Sergey Fedoseev
|
1933e56eca
Removed uneeded generator expressions and list comprehensions.
|
6 anni fa |
Simon Charette
|
0f212db29d
Made reused RequestFactory instances class attributes.
|
6 anni fa |
Mariusz Felisiak
|
362813d628
Fixed hanging indentation in various code.
|
7 anni fa |
Claude Paroz
|
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
|
8 anni fa |
Tim Graham
|
d334f46b7a
Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES.
|
8 anni fa |
Kosei Kitahara
|
f095b249ba
Fixed #27517 -- Fixed charset param in SimpleTemplateResponse.__init__().
|
8 anni fa |
Ramin Farajpour Cami
|
967be82443
Fixed E305 flake8 warnings.
|
8 anni fa |
Tim Graham
|
ece4d24f8e
Refs #26601 -- Deprecated old-style middleware.
|
9 anni fa |
Florian Apolloner
|
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
|
9 anni fa |
Tim Graham
|
406675b1a0
Fixed #26176 -- Fixed E123 flake8 warnings.
|
9 anni fa |
Hasan
|
3d0dcd7f5a
Refs #26022 -- Used context manager version of assertRaises in tests.
|
9 anni fa |
Josh Soref
|
93452a70e8
Fixed many spelling mistakes in code, comments, and docs.
|
9 anni fa |
Alex Morozov
|
13dba4dba3
Fixed #25780 -- Removed redundant status code assertions from tests
|
9 anni fa |
Tim Graham
|
9af3c6b9ce
Made template response APIs enforce the use of dict and backend-specific template objects.
|
9 anni fa |
Tim Graham
|
9114fe8ada
Removed support for passing a context to a generic Template.render().
|
9 anni fa |
Tim Graham
|
5e450c52aa
Removed current_app argument to render() and TemplateResponse().
|
9 anni fa |
Tim Graham
|
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
|
9 anni fa |
Preston Timmons
|
8e129b42ad
Cleaned up template directory handling in template tests.
|
10 anni fa |
Tim Graham
|
0ed7d15563
Sorted imports with isort; refs #23860.
|
10 anni fa |
darkryder
|
9ec8aa5e5d
Fixed #24149 -- Normalized tuple settings to lists.
|
10 anni fa |
Aymeric Augustin
|
2133f3157e
Fixed #24168 -- Allowed selecting a template engine in a few APIs.
|
10 anni fa |
Aymeric Augustin
|
79deb6a071
Accounted for multiple template engines in template responses.
|
10 anni fa |
Claude Paroz
|
51890ce889
Applied ignore_warnings to Django tests
|
10 anni fa |
Aymeric Augustin
|
d3205e3e2e
Deprecated TEMPLATE_DIRS.
|
10 anni fa |
Aymeric Augustin
|
cf1f36bb6e
Deprecated current_app in TemplateResponse and render(_to_response).
|
10 anni fa |
Ramiro Morales
|
16f26defa7
Converted recently refactored templates tests to SimpleTestCase.
|
10 anni fa |
Luke Plant
|
b748a8bc67
Fixed #23789 -- TemplateResponse handles context differently from render
|
10 anni fa |