Bug #10
MultiViews don't pass node to wrapped views
Start date:
08/05/2010
Due date:
% Done:
0%
Estimated time:
Description
Currently, MultiView chooses to pass the rendering node to a view based on whether 'node' is present in the view's arguments based on getargspec. A wrapped view throws this off. Solution: MultiView should always insert the rendering node if the view accepts kwargs.
Associated revisions
Merge branch 'master' of git://github.com/melinath/philo
- 'master' of git://github.com/melinath/philo:
Paginator returns page.object_list as objects if a page exists.
Implements render_to_string on Page model for cases where this is used to render i.e. emails (Feature #18)
Unimplemented PaginationProxy; moved pagination from penfield to core.
Multiview will now pass node and extra_context to any view that takes kwargs. Fixes bug #10
Added forgotten import of EmptyPage.
Introduced the PaginationProxy object to simplify use in templates.
Revised penfield's pagination helper to work more generically.
History
Updated by Joseph Spiros over 13 years ago
- Subject changed from node can't handle wrapped views to MultiViews don't pass node to wrapped views
Updated by Stephen Burrows over 13 years ago
- Status changed from In Progress to Resolved
Good subject line change!
Multiview will now pass node and extra_context to any view that takes kwargs. Fixes bug #10