| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-01 | [4.2.x] Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main | |||
| 2022-12-20 | Refs #34118 -- Adopted asgiref coroutine detection shims. | Carlton Gibson | |
| Thanks to Mariusz Felisiak for review. | |||
| 2022-11-29 | Fixed #33701 -- Added fine-grained error locations to the technical 500 ↵ | Giebisch | |
| debug page. | |||
| 2022-11-25 | Fixed #33747 -- Added exception notes to the technical 500 debug page. | Giebisch | |
| 2022-11-10 | Updated documentation and comments for RFC updates. | Nick Pope | |
| - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents | |||
| 2022-10-26 | Fixed #33606 -- Cleansed sessionid cookie in error reports. | Tobias Bengfort | |
| Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 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-08-17 | Fixed #33878 -- Switched to system fonts in CSS. | Tom Carrick | |
| 2022-07-25 | Simplified various built-in templates. | Nick Pope | |
| - Using the {% plural %} tag. - Using the |yesno filter. - Using the |unordered_list filter. - Unnesting {% if %} where not required. - Not duplicating {% if %}. | |||
| 2022-07-25 | Standardized formatting in technical 500 template. | Nick Pope | |
| - Prefer use of `k` and `v` instead of `var.0` and `var.1`. - Fixed indentation of #files-info block to match adjacent blocks. | |||
| 2022-07-25 | Fixed #33863 -- Fixed JavaScriptCatalog with more than 1 level of fallback ↵ | Claude Paroz | |
| translations. Co-authored-by: Carlos Mermingas <cmermingas@gmail.com> | |||
| 2022-05-25 | Normalized decorator style for functools.wraps. | Aymeric Augustin | |
| 2022-05-25 | Normalized imports of functools.wraps. | Aymeric Augustin | |
| @wraps is 10 times more common than @functools.wraps. Standardize to the most common version. | |||
| 2022-05-25 | Renamed wrapped functions to wrapper. | Aymeric Augustin | |
| All these functions are wrapping another function. They're the wrapper, while the function they're wrapping is the wrapped. | |||
| 2022-04-07 | Fixed #33611 -- Allowed View subclasses to define async method handlers. | Carlton Gibson | |
| 2022-03-24 | Refs #32365 -- Removed internal uses of utils.timezone.utc alias. | Carlton Gibson | |
| Remaining test case ensures that uses of the alias are mapped canonically by the migration writer. | |||
| 2022-03-15 | Removed outdated handling of length parameter to If-Modified-Since header. | Mariusz Felisiak | |
| The length parameter is not described in RFC-7232 and it's against HTTP/1.0 and HTTP/1.1 specifications. It was an old and unofficial extension set by some ancient versions of IE. | |||
| 2022-03-11 | Fixed #33571 -- Fixed static serving views crash when If-Modified-Since is ↵ | Collin Anderson | |
| empty. Regression in d6aff369ad33457ae2355b5b210faf1c4890ff35. | |||
| 2022-03-09 | Fixed #33567 -- Avoided setting default text/html content type on responses. | Claude Paroz | |
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-28 | Fixed #33461 -- Escaped template errors in the technical 500 debug page. | Keryn Knight | |
| 2022-01-24 | Fixed wrapping of long values in technical 500 debug page. | Mariusz Felisiak | |
| Follow up to d5f2d5d6041d477fc8f5fc53c20112e07ef104fc. | |||
| 2022-01-24 | Fixed #33457 -- Fixed "Local vars" scrolling in technical 500 debug page. | Hrushikesh Vaidya | |
| Thanks Keryn Knight for the report and the initial patch. | |||
| 2022-01-22 | Stopped including type="text/css" attributes for CSS link tags. | Claude Paroz | |
| 2022-01-13 | Fixed #33396 -- Added view name to technical 500 debug page. | Hrushikesh Vaidya | |
| 2022-01-13 | Refs #33396 -- Added django.views.debug.get_caller() hook. | Hrushikesh Vaidya | |
| 2022-01-12 | Refs #33426 -- Simplified technical_404_response() with ↵ | Hrushikesh Vaidya | |
| ResolverMatch._func_path. | |||
| 2022-01-12 | Fixed #33433 -- Avoided unnecessary resolve() calls in technical_404_response(). | Hrushikesh Vaidya | |
| Thanks Keryn Knight for the initial patch. | |||
| 2022-01-08 | Fixed #33425 -- Fixed view name for CBVs on technical 404 debug page. | Keryn Knight | |
| Regression in 0c0b87725bbcffca3bc3a7a2c649995695a5ae3b. | |||
| 2021-12-29 | Fixed wrapping of long values in technical 500 debug page. | Keryn Knight | |
| 2021-12-16 | Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest. | Mariusz Felisiak | |
| Regression in 3fd82a62415e748002435e7bad06b5017507777c. Thanks Terence Honles for the report. | |||
| 2021-11-09 | Refs #33263 -- Added warning to BaseDeleteView when delete() method is ↵ | Mariusz Felisiak | |
| overridden. Follow up to 3a45fea0832c5910acee6e0d29f230f347a50462. | |||
| 2021-09-27 | Refs #32355 -- Used @functools.lru_cache as a straight decorator. | Mariusz Felisiak | |
| 2021-09-10 | Fixed #33096 -- Fixed <form> nesting in technical 500 template. | Jan Schär | |
| This also prevents sending <form> tags in emails. | |||
| 2021-07-29 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 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-06-25 | Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using ↵ | Mateo Radman | |
| "assert" in various code. | |||
| 2021-05-12 | Fixed #32366 -- Updated datetime module usage to recommended approach. | Nick Pope | |
| - Replaced datetime.utcnow() with datetime.now(). - Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp(). - Replaced datetime.utctimetuple() with datetime.timetuple(). - Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp(). | |||
| 2021-04-30 | Fixed #32698 -- Moved HttpRequest.get_raw_uri() to ↵ | Hasan Ramezani | |
| ExceptionReporter._get_raw_insecure_uri(). | |||
| 2021-04-27 | Refs 32637 -- Made technical 404 debug page display exception message when ↵ | Mariusz Felisiak | |
| URL is resolved. Follow up to 3b8527e32b665df91622649550813bb1ec9a9251. | |||
| 2021-04-13 | Fixed #32637 -- Restored exception message on technical 404 debug page. | Mariusz Felisiak | |
| Thanks Atul Varma for the report. | |||
| 2021-04-09 | Fixed #32624 -- Avoided using JavaScript for "Local vars" show/hide in ↵ | Collin Anderson | |
| technical 500 debug page. | |||
| 2021-04-01 | Fixed #32316 -- Deferred accessing __file__. | William Schwartz | |
| Deferred accessing the module-global variable __file__ because the Python import API does not guarantee it always exists—in particular, it does not exist in certain "frozen" environments. The following changes advanced this goal. Thanks to Carlton Gibson, Tom Forbes, Mariusz Felisiak, and Shreyas Ravi for review and feedback. | |||
| 2021-03-31 | Refs #32105 -- Moved ExceptionReporter template paths to properties. | William Schwartz | |
| Refs #32316. | |||
| 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> | |||
| 2021-03-30 | Refs #32260 -- Made admindocs and technical 404 debug page use ↵ | Adam Johnson | |
| view_func.view_class. Internals of admindocs and technical 404 debug page should use the view_class attribute and do not rely on __name__. | |||
| 2021-02-24 | Fixed #32480 -- Corrected docstring and removed redundant comments in ↵ | BeryCZ | |
| django/views/defaults.py. | |||
| 2021-02-24 | Refs #32468 -- Added error message on invalid usage of cache decorators. | Haki Benita | |
| 2021-01-29 | Fixed #32345 -- Fixed preserving encoded query strings in set_language() view. | Sandro Covo | |
| Thanks Johannes Maron for the review. | |||
