From 76e985a901e52b46eb3aad29cfc1a6730c695b27 Mon Sep 17 00:00:00 2001 From: David Blanco Bautista Date: Wed, 6 Apr 2022 14:24:38 +0200 Subject: [PATCH] Update user application documentation to match current code issue10218 review374561004 --- doc/topics/user_application.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/topics/user_application.rst b/doc/topics/user_application.rst index d007311e7a..a21c9882ba 100644 --- a/doc/topics/user_application.rst +++ b/doc/topics/user_application.rst @@ -5,7 +5,7 @@ User Application ================ Tryton provides a way to connect URL rules to an callable endpoint using the -decorator method ``route`` of the ``trytond.application.app`` instance. This +decorator method ``route`` of the ``trytond.wsgi.app`` instance. This allows you to define a custom API based on HTTP that can be used to create a specific user application. @@ -14,7 +14,7 @@ Format`_ of Werkzeug and as second parameter sequence of HTTP methods. Example:: - from trytond.application import app + from trytond.wsgi import app @app.route('/hello', methods=['GET']) def hello(request):