Skip to content

Commit

Permalink
Fix #30: Fix code quickstart code example
Browse files Browse the repository at this point in the history
  • Loading branch information
bhch committed Oct 16, 2022
1 parent 9f3f503 commit c7e5756
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Creating the admin site
Here's a quick and dirty way to setup the admin site:

.. code-block:: python
:emphasize-lines: 26,29
# app.py
Expand Down Expand Up @@ -38,7 +39,7 @@ Here's a quick and dirty way to setup the admin site:
AdminRouter(admin_site), # add admin site's route to your app
],
debug=True,
uimodules=[tornadmin_uimodules], # add admin site's uimodules
ui_modules=[tornadmin_uimodules], # add admin site's uimodules
)
Expand Down

0 comments on commit c7e5756

Please sign in to comment.