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

register_routes() hook should take datasette argument #1404

Closed
simonw opened this issue Jul 26, 2021 · 1 comment
Closed

register_routes() hook should take datasette argument #1404

simonw opened this issue Jul 26, 2021 · 1 comment
Labels

Comments

@simonw
Copy link
Owner

simonw commented Jul 26, 2021

Currently that plugin hook takes no arguments at all. This means it's not possible to conditionally register routes based on Datasette plugin configuration.

@simonw
Copy link
Owner Author

simonw commented Jul 26, 2021

simonw added a commit that referenced this issue Aug 7, 2021
simonw added a commit that referenced this issue Oct 14, 2021
simonw added a commit that referenced this issue Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant