| 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-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-07-23 | Removed double spaces after periods and within phrases. | Sarah Boyce | |
| 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> | |||
| 2024-12-18 | Refs #26007 -- Improved the ImproperlyConfigured error message for ↵ | Andrew Miller | |
| SingleObjectTemplateResponseMixin.get_template_names(). | |||
| 2024-12-18 | Fixed #26007 -- Clarified ↵ | Andrew Miller | |
| SingleObjectTemplateResponseMixin.get_template_names() docs. | |||
| 2024-10-15 | Fixed #35682 -- Updated docstrings for base view classes which require a ↵ | Yash | |
| response mixin. | |||
| 2023-01-17 | Refs #33263 -- Removed warning in BaseDeleteView when delete() method is ↵ | Mariusz Felisiak | |
| overridden. | |||
| 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-11-09 | Refs #33263 -- Added warning to BaseDeleteView when delete() method is ↵ | Mariusz Felisiak | |
| overridden. Follow up to 3a45fea0832c5910acee6e0d29f230f347a50462. | |||
| 2021-07-14 | Fixed #21936 -- Allowed DeleteView to work with custom Forms and ↵ | Carlton Gibson | |
| SuccessMessageMixin. Thanks to Mariusz Felisiak for review. Co-authored-by: Demetris Stavrou <demestav@gmail.com> Co-authored-by: Caroline Simpson <github@hoojiboo.com> | |||
| 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-06-26 | Fixed #31620 -- Added support for %V format to WeekMixin/WeekArchiveView. | Hasan Ramezani | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-03-23 | Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context. | Adam Johnson | |
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 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. | |||
| 2019-06-28 | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | |
| Thanks Claude Paroz for assistance with translations. | |||
| 2018-12-21 | Fixed #29750 -- Added View.setup() hook for class-based views. | François Freitag | |
| 2018-10-29 | Fixed #29903 -- Added error message for invalid WeekArchiveView week_format. | Hasan Ramezani | |
| 2018-01-18 | Refs #23668 -- Removed passing default argument of current TZ to ↵ | Jon Dufresne | |
| make_aware()/naive. | |||
| 2018-01-17 | Improved generic detail view error message for when pk or slug is missing. | Vincent Poulailleau | |
| 2018-01-03 | Fixed #28985 -- Removed unneeded None checks before hasattr(). | Дилян Палаузов | |
| 2017-12-04 | Fixed #28860 -- Removed unnecessary len() calls. | Дилян Палаузов | |
| 2017-11-14 | Fixed #28795 -- Removed 'not in' checks and used dict.setdefault(). | Дилян Палаузов | |
| 2017-11-07 | Fixed #28719 -- Added a helpful exception if ↵ | Bjorn Kristinsson | |
| MultipleObjectTemplateResponseMixin doesn't generate any template names. | |||
| 2017-11-06 | Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | |
| 2017-09-20 | Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201. | Sjoerd Job Postmus | |
| Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs. | |||
| 2017-09-04 | Fixed #28082 -- Made BaseDateListView pass context from get_dated_items() to ↵ | Sebastian Sassi | |
| subclasses. Thanks leon-matthews for the report and fix. | |||
| 2017-07-06 | Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context ↵ | Bruno Alla | |
| in as_view(). | |||
| 2017-05-30 | Fixed #28209 -- Made date-based generic views return a 404 rather than crash ↵ | Adit Biswas | |
| when given an out of range date. | |||
| 2017-05-27 | Fixed #28226 -- Replaced use of str.join() with concatenation. | Tom | |
| 2017-04-27 | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-03-04 | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 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-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-01 | Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. | Vytis Banaitis | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-20 | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | |
