| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-11-09 | [4.0.x] Refs #33263 -- Added warning to BaseDeleteView when delete() method ↵ | Mariusz Felisiak | |
| is overridden. Follow up to 3a45fea0832c5910acee6e0d29f230f347a50462. Backport of 6bc437c0d82675ebe6aa92c8e249892205c316ef from main | |||
| 2021-10-20 | [4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings. | David Smith | |
| Backport of 7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 from main | |||
| 2021-10-19 | [4.0.x] Refs #32956 -- Changed docs to treat the acronym HTTP phonetically. | David Smith | |
| Backport of 69b0736fad1d1f0197409ca025b7bcdf5666ae62 from main | |||
| 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-11-06 | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | |
| This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.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-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-10-30 | Refs #20456 -- Added test for initialization of request/args/kwargs ↵ | Felipe Lee | |
| attributes in View.Setup(). | |||
| 2019-06-04 | Fixed typo in tests/generic_views/test_base.py. | Tim Graham | |
| 2018-12-21 | Fixed #29750 -- Added View.setup() hook for class-based views. | François Freitag | |
| 2018-12-04 | Tested exception messages in generic_views tests. | François Freitag | |
| 2018-11-27 | Made reused RequestFactory instances class attributes. | Simon Charette | |
| 2018-11-13 | Moved duplicate author declarations to setUpTestData() in DeleteViewTests. | oliver | |
| 2018-11-09 | Moved duplicate author declarations to setUpTestData() in UpdateViewTests. | oliver | |
| 2018-10-30 | Increased test coverage of django/views/generic/dates.py. | Hasan Ramezani | |
| 2018-10-29 | Fixed #29903 -- Added error message for invalid WeekArchiveView week_format. | Hasan Ramezani | |
| 2018-10-27 | Added test coverage for views.generic.dates.MonthMixin.get_month() KeyError ↵ | Hasan Ramezani | |
| branch. | |||
| 2018-01-17 | Improved generic detail view error message for when pk or slug is missing. | Vincent Poulailleau | |
| 2017-11-07 | Fixed #28719 -- Added a helpful exception if ↵ | Bjorn Kristinsson | |
| MultipleObjectTemplateResponseMixin doesn't generate any template names. | |||
| 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-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-07-06 | Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context ↵ | Bruno Alla | |
| in as_view(). | |||
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 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-10 | Decreased max_length for char fields unless absolutely needed. (#8485) | Florian Apolloner | |
| 2017-03-01 | Fixed #26911 -- Removed NoReverseMatch silencing in RedirectView. | Grzegorz Tężycki | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-20 | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-12-08 | Imported specific models in a few tests that didn't. | Tim Graham | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-06-28 | Replaced use of TestCase.fail() with assertRaises(). | Tim Graham | |
| Also removed try/except/fail antipattern that hides exceptions. | |||
| 2016-06-24 | Refs #17209 -- Added LoginView and LogoutView class-based views | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-12-31 | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | |
| Thanks to Tim Graham for the review. | |||
| 2015-12-30 | Fixed #26018 -- Prevented unecessary get_form() call in ↵ | Chris Cogdon | |
| FormMixin.get_context_data(). Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not be called unnecessarily, specifically in the case where FormMixin.form_invalid() calls get_context_data() with the current form. | |||
| 2015-12-30 | Fixed #26006 -- Fixed incorrect object reference in ↵ | Chris Cogdon | |
| SingleObjectMixin.get_context_object_name(). | |||
