Update user application documentation to match current code

issue10218
review374561004
This commit is contained in:
David Blanco Bautista committed 2022-04-06 14:24:38 +02:00
1 parent 12c818140f
commit 76e985a901
1 file changed
+2 -2
+2 -2
View File
@@ -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):