Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyword arguments in path handlers #2585

Merged
merged 2 commits into from Dec 7, 2016
Merged

Conversation

Kwpolska
Copy link
Member

@Kwpolska Kwpolska commented Dec 6, 2016

This implements the generic functionality needed for #2580. I’ll try to do it for the Taxonomy stuff in a future PR (first, I need to understand the thing)

cc @felixfontein

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Copy link
Contributor

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@felixfontein
Copy link
Contributor

The taxonomy plugin's path handler for indexes can already handle page numbers when they are returned from a taxonomy's get_path. So changing TaxonomiesClassifier._taxonomy_path to handle an optional page argument should be not too hard.

@Kwpolska Kwpolska merged commit d743c67 into master Dec 7, 2016
@Kwpolska Kwpolska deleted the kwargs-in-path-handlers branch December 7, 2016 17:04
@felixfontein
Copy link
Contributor

Do you still want to do the future PR, or should I throw something together?

@Kwpolska
Copy link
Member Author

Kwpolska commented Dec 8, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants