| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-01-31 | Refs #34118 -- Removed asgiref coroutine detection shims. | Jacob Walls | |
| As Python 3.12 is now the floor, we can drop the shims and use the `inspect` module. | |||
| 2025-10-12 | Optimized View.dispatch() a bit. | sobolevn | |
| 2025-09-22 | Fixed #36488 -- Fixed merging of query strings in RedirectView. | Samriddha9619 | |
| Co-authored-by: Ethan Jucovy <ethan.jucovy@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-06-06 | Refs CVE-2025-48432 -- Prevented log injection in remaining response logging. | Jake Howard | |
| Migrated remaining response-related logging to use the `log_response()` helper to avoid potential log injection, to ensure untrusted values like request paths are safely escaped. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2022-12-20 | Refs #34118 -- Adopted asgiref coroutine detection shims. | Carlton Gibson | |
| Thanks to Mariusz Felisiak for review. | |||
| 2022-09-29 | Fixed #34062 -- Updated View.http_method_not_allowed() to support async. | Antoine Lorence | |
| As with the options() methods, wrap the response in a coroutine if the view is async. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2022-04-07 | Fixed #33611 -- Allowed View subclasses to define async method handlers. | Carlton Gibson | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-03-30 | Fixed #32260 -- Made View.as_view() do not use update_wrapper(). | Daniyal | |
| View.as_view() should not use update_wrapper() for copying attributes it's unintended and have side-effects such as adding `self` to the signature. This also fixes system check for arguments of custom error handler views with class-based views. Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> | |||
| 2020-09-14 | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | |
| 2020-08-24 | Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing ↵ | Mariusz Felisiak | |
| URL kwargs into context." This reverts commit 4ed534758cb6a11df9f49baddecca5a6cdda9311. | |||
| 2020-08-24 | Refs #31877 -- Reverted "Fixes #31877 -- Used lazy() for TemplateView kwarg ↵ | Mariusz Felisiak | |
| deprecation warning." This reverts commit 20799cc0a6d98816b9ef0577e24691bd26b80d7d. | |||
| 2020-08-13 | Fixes #31877 -- Used lazy() for TemplateView kwarg deprecation warning. | Adam Johnson | |
| SimpleLazyObjects cause a crash when filtering. Thanks Tim L. White for the report. Regression in 4ed534758cb6a11df9f49baddecca5a6cdda9311. | |||
| 2020-03-23 | Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context. | Adam Johnson | |
| 2020-01-06 | Removed "Don't do that" from docs and error messages. | Adam Johnson | |
| It's slightly aggressive and doesn't explain itself. | |||
| 2019-10-30 | Refs #20456 -- Moved initialization of HEAD method based on GET to the ↵ | Felipe Lee | |
| View.setup() for generic views. This will ease unit testing of views since setup will essentially do everything needed to set the view instance up (other than instantiating it). Credit for idea goes to Vincent Prouillet. | |||
| 2018-12-21 | Fixed #29750 -- Added View.setup() hook for class-based views. | François Freitag | |
| 2017-11-14 | Fixed #28795 -- Removed 'not in' checks and used dict.setdefault(). | Дилян Палаузов | |
| 2017-07-06 | Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context ↵ | Bruno Alla | |
| in as_view(). | |||
| 2017-03-03 | Refs #27656 -- Updated django.views docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-03-01 | Fixed #26911 -- Removed NoReverseMatch silencing in RedirectView. | Grzegorz Tężycki | |
| 2017-02-27 | Imported django.http classes instead of django.http. | Asif Saifuddin Auvi | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2015-12-31 | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | |
| Thanks to Tim Graham for the review. | |||
| 2015-10-22 | Fixed "URLconf" spelling in code comments. | Tim Graham | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24168 -- Allowed selecting a template engine in a few APIs. | Aymeric Augustin | |
| Specifically in rendering shortcuts, template responses, and class-based views that return template responses. Also added a test for render_to_response(status=...) which was missing from fdbfc980. Thanks Tim and Carl for the review. | |||
| 2015-01-18 | Changed RedirectView.permanent to False per deprecation timeline; refs #21587. | Tim Graham | |
| 2015-01-17 | Fixed #24055 -- Keep reference to view class for resolve() | Collin Anderson | |
| 2014-11-28 | Corrected deprecation warnings for RedirectView; refs #21587. | Berker Peksag | |
| 2014-11-25 | Fixed #21587 -- Added a warning for changing default of RedirectView.permanent. | Berker Peksag | |
| 2013-12-16 | Fixed #21564 -- Use local request object when possible in generic views. | Baptiste Mispelon | |
| Thanks to trac user adepue for the report and original patch. | |||
| 2013-11-03 | Fixed flake8 E251 violations | Milton Mazzarri | |
| 2013-06-14 | Fixed #15273 -- Extend RedirectView to allow reversal by name. | Marc Tamlyn | |
| Thanks to @DrMeers for the report and @ludwigkraatz for the initial patch. | |||
| 2013-05-22 | Fixed #20478 – Added support for HTTP PATCH method in generic views. | Krzysztof Jurewicz | |
| 2013-01-30 | Fixed #19076 -- Added content_type attribute to TemplateView. | Aymeric Augustin | |
| Thanks Gavin Wahl. | |||
| 2012-11-22 | Fixed #19316 -- Set View args/kwargs/request before dispatch | George Hickman | |
| 2012-11-22 | Clarified usage of as_view kwargs for setting arguments on class based views | Tim Graham | |
| Thanks Dave McLain for the patch. | |||
| 2012-10-20 | Fixed #7581 -- Added streaming responses. | Aymeric Augustin | |
| Thanks mrmachine and everyone else involved on this long-standing ticket. | |||
| 2012-09-20 | Imported getLogger directly from logging module | Claude Paroz | |
| This was a remainder of some 2.4 compatibility code. | |||
| 2012-08-18 | Fixed #17228 -- params context variable is inconsistent | Marc Tamlyn | |
| Remove the params variable from the context and just put the variables in directly. This had not been committed previously as the original pattern was used in the functional generic views and we wanted consistency between them, but django.views.generic.simple.direct_to_template is now gone so we can do it 'right'. | |||
| 2012-08-18 | Fixed #16744 -- Class based view should have the view object in the context | Marc Tamlyn | |
| Updated the most recent patch from @claudep to apply again and updated the documentation location. | |||
| 2012-08-07 | [py3] Fixed access to dict keys/values/items. | Aymeric Augustin | |
| 2012-06-11 | Fixed #18451 -- Vastly improved class based view documentation. | Jannis Leidel | |
| Many thanks to Daniel Greenfeld, James Aylett, Marc Tamlyn, Simon Williams, Danilo Bargen and Luke Plant for their work on this. | |||
| 2012-06-07 | Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. | Claude Paroz | |
| Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review. | |||
| 2012-05-17 | Fixed #17449 -- Added OPTIONS to generic views. | Aymeric Augustin | |
| Thanks estebistec for the report and patch. | |||
| 2012-04-06 | Fixed #16074 -- Added ContextMixin to class-based generic views to handle ↵ | Claude Paroz | |
| get_context_data. Thanks emyller, Luke Plant, Preston Holmes for working on the ticket and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17875 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||
