Project

General

Profile

Feature #12

Variable arguments for get_subpath, and thus, the nodeurl templatetag

Added by Joseph Spiros over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Category:
Core
Target version:
-
Start date:
08/05/2010
Due date:
% Done:

0%

Estimated time:

Description

The semantics of get_subpath on View subclasses should be extended to support variable keyword arguments, and nodeurl should support the new functionality once it exists.

History

#1

Updated by Stephen Burrows over 13 years ago

  • Status changed from New to In Progress
  • Assignee set to Stephen Burrows

Reworked node_url to accept url-tag style args and kwargs in place of a simpler "with <obj>" declaration. Replaced get_subpath to get_reverse_params - it is more flexible and outsources the error handling. If get_subpath is deemed necessary, it can also make use of the get_reverse_params method.

node_url seems to be working fine as of commit db91ce955e7408382263b8f4ec82915f77d8efb4. Includes unittest.

#2

Updated by Stephen Burrows over 13 years ago

  • Status changed from In Progress to Resolved

Merged into ithinksw/master with commit 9592f8df376c7dacacd49bb7587ee494ad339035.

Also available in: Atom PDF