From 81a6531d372bebbc11b8452caac29aaa50c7c5c0 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 14 Jan 2025 17:50:21 -0600 Subject: [PATCH] add entry point registration for menu handler --- {{ cookiecutter.repo_name }}/pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/{{ cookiecutter.repo_name }}/pyproject.toml b/{{ cookiecutter.repo_name }}/pyproject.toml index ce0f045..7dd2ebf 100644 --- a/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/{{ cookiecutter.repo_name }}/pyproject.toml @@ -34,6 +34,9 @@ dependencies = [ [project.entry-points."wutta.config.extensions"] "{{cookiecutter.package_name}}" = "{{cookiecutter.package_name}}.config:{{cookiecutter.__studly_prefix}}Config" +[project.entry-points."wutta.web.menus"] +"{{cookiecutter.package_name}}" = "{{cookiecutter.package_name}}.web.menus:{{cookiecutter.__studly_prefix}}MenuHandler" + # [project.urls] # Homepage = "https://example.com/"