Skip to content

Commit

Permalink
Mention aiohttp 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 6, 2017
1 parent 5847747 commit a7e34c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ FAQ
Are there any plans for @app.route decorator like in Flask?
-----------------------------------------------------------

We have it already: :ref:`aiohttp-web-alternative-routes-definition`.
We have it already (*aiohttp>=2.3* required):
:ref:`aiohttp-web-alternative-routes-definition`.

The difference is: ``@app.route`` should have an ``app`` in module
global namespace, which makes *circular import hell* easy.
Expand Down

0 comments on commit a7e34c7

Please sign in to comment.