Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/shared-database-shared-schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Using :code:`tenant_from_request` in the views
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Views, whether they are Django function based, class based or a Django Rest Framework view have access to the request.
Lets take the example of :code:`polls.views.PollViewSet` to limit the endpoints to tenant specific :code:`Poll` objects.
Lets take the example of :code:`polls.apiviews.PollViewSet` to limit the endpoints to tenant specific :code:`Poll` objects.

.. code-block:: python

Expand Down