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

Packaged version is missing templates #3

Closed
simonw opened this issue Sep 22, 2021 · 2 comments
Closed

Packaged version is missing templates #3

simonw opened this issue Sep 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@simonw
Copy link
Owner

simonw commented Sep 22, 2021

Got this error on /n:

none of the templates given were found: datasette_notebook/edit.html
@simonw simonw added the bug Something isn't working label Sep 22, 2021
@simonw
Copy link
Owner Author

simonw commented Sep 22, 2021

Here's why:

package_data={"datasette_notebook": ["static/*", "templates/*"]},

That doesn't capture the nested templates/datasette_notebook/*.html files.

@simonw
Copy link
Owner Author

simonw commented Sep 22, 2021

I was hoping I could use ** here but apparently that won't work:

simonw added a commit that referenced this issue Sep 22, 2021
simonw added a commit that referenced this issue Sep 22, 2021
@simonw simonw closed this as completed Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant