Project

General

Profile

Bug #10

MultiViews don't pass node to wrapped views

Added by Stephen Burrows over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
-
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

Revision 7318a269 (diff)
Added by Stephen Burrows over 13 years ago

Multiview will now pass node and extra_context to any view that takes kwargs. Fixes bug #10

Revision a10d536d
Added by Joseph Spiros over 13 years ago

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

#1

Updated by Stephen Burrows over 13 years ago

  • Status changed from New to In Progress
#2

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
#3

Updated by Stephen Burrows over 13 years ago

  • Status changed from In Progress to Resolved

Good subject line change!

Also available in: Atom PDF