| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
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().
|
|
|
|
|
|
|
|
|
|
in as_view().
|
|
|
|
|
|
|
|
|
|
|
|
Also removed try/except/fail antipattern that hides exceptions.
|
|
|
|
Thanks to Tim Graham for the review.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to trac user adepue for the report and original patch.
|
|
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
|
|
|
|
|
TemplateDoesNotExist when it should have raised an ImproperlyConfigured. fixes 16502. by @ianawilson, @jambonrose
|
|
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
|
Refs #20680.
|
|
Thanks to @DrMeers for the report and @ludwigkraatz for the initial patch.
|
|
|
|
Gives much nicer errors when it fails.
|
|
Added object on SingleObjectMixin returned context,
some code clanup.
|
|
get_context_data kwargs.
This is so MultipleObjectMixin can be used in the same way as
SingleObjectMixin.
|
|
|