Skip to content

Commit

Permalink
fix: in quickstart guide clarify to put GRPC_FRAMEWORK in the project…
Browse files Browse the repository at this point in the history
…'s settings file (#331)
  • Loading branch information
msz-hamster authored Dec 6, 2024
1 parent a21f2d7 commit b355030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ In this quickstart, we will register our services in the ``quickstart/handlers.p
app_registry.register(UserService)
app_registry.register(PostService)
Set its path as the ``ROOT_HANDLERS_HOOK`` of the ``GRPC_FRAMEWORK`` :ref:`settings <Available Settings>`:
Set its path as the ``ROOT_HANDLERS_HOOK`` of the ``GRPC_FRAMEWORK`` :ref:`settings <Available Settings>` section of your ``dsg_tutorial/settings.py`` file:

.. code-block:: python
# quickstart/settings.py
# dsg_tutorial/settings.py
...
GRPC_FRAMEWORK = {
"ROOT_HANDLERS_HOOK" : 'quickstart.handlers.grpc_handlers',
Expand Down

0 comments on commit b355030

Please sign in to comment.