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

template_dir or templates_dir? #462

Open
krassowski opened this issue Feb 10, 2025 · 1 comment · May be fixed by #463
Open

template_dir or templates_dir? #462

krassowski opened this issue Feb 10, 2025 · 1 comment · May be fixed by #463
Labels

Comments

@krassowski
Copy link
Member

labextensions_url = Unicode("", help="The url for federated JupyterLab extensions").tag(
config=True
)

matches

@default("labextensions_url")
def _default_labextensions_url(self) -> str:
return ujoin(self.app_url, "extensions/")

but

templates_dir = Unicode("", help="The application templates directory.").tag(config=True)

does not

@default("template_dir")
def _default_template_dir(self) -> str:
return DEFAULT_TEMPLATE_PATH

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