Skip to content

Commit

Permalink
Merge pull request #1 from sobolevn/patch-1
Browse files Browse the repository at this point in the history
Added syntax highlighting to README.rst
  • Loading branch information
fengsp committed Jun 3, 2020
2 parents 53e6d0c + f027e46 commit 086f582
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.rst
Expand Up @@ -35,7 +35,9 @@ Installation
$ pip install djangogrpcframework
Add ``django_grpc_framework`` to ``INSTALLED_APPS`` setting::
Add ``django_grpc_framework`` to ``INSTALLED_APPS`` setting:

.. code-block:: python
INSTALLED_APPS = [
...
Expand Down Expand Up @@ -107,4 +109,4 @@ You can now run a gRPC client to access the service:
with grpc.insecure_channel('localhost:50051') as channel:
stub = demo_pb2_grpc.UserControllerStub(channel)
for user in stub.List(demo_pb2.UserListRequest()):
print(user, end='')
print(user, end='')

0 comments on commit 086f582

Please sign in to comment.