This commit is contained in:
Lendemor 2024-12-10 00:57:29 +01:00
parent cc1d4400bd
commit e9c75d7e28

View File

@ -651,7 +651,7 @@ class App(MiddlewareMixin, LifespanMixin):
"""
console.deprecate(
feature_name="App.add_custom_404_page",
reason='Use App.add_page(component, route="/404") instead.',
reason=f"Use app.add_page(component, route=/{constants.Page404.SLUG!r}) instead.",
deprecation_version="0.6.7",
removal_version="0.7.0",
)