| Age | Commit message (Collapse) | Author |
|
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>
|
|
|
|
URL kwargs into context."
This reverts commit 4ed534758cb6a11df9f49baddecca5a6cdda9311.
|
|
deprecation warning."
This reverts commit 20799cc0a6d98816b9ef0577e24691bd26b80d7d.
|
|
SimpleLazyObjects cause a crash when filtering.
Thanks Tim L. White for the report.
Regression in 4ed534758cb6a11df9f49baddecca5a6cdda9311.
|
|
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
|
|
It's slightly aggressive and doesn't explain itself.
|
|
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.
|
|
attributes in View.Setup().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
branch.
|
|
|
|
MultipleObjectTemplateResponseMixin doesn't generate any template names.
|
|
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.
|
|
subclasses.
Thanks leon-matthews for the report and fix.
|
|
|
|
in as_view().
|
|
|
|
when given an out of range date.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also removed try/except/fail antipattern that hides exceptions.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
Thanks to Tim Graham for the review.
|
|
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.
|
|
SingleObjectMixin.get_context_object_name().
|
|
|
|
argument.
|
|
|
|
optional.
Per deprecation timeline.
|
|
Per deprecation timeline.
|