Skip to content

Commit

Permalink
Merge pull request #76 from ahopkins/dev
Browse files Browse the repository at this point in the history
Fix `class_based_views` in docs
  • Loading branch information
ahopkins committed Feb 25, 2018
2 parents a57ade6 + 0132fc0 commit a18672a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/pages/endpoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Sometimes you may find the need to add another endpoint to your authentication s
('/my-view', MyEndpoint),
)
Initialize(app, class_based_views=my_views)
Initialize(app, class_views=my_views)
**Example**:

Expand Down Expand Up @@ -236,9 +236,9 @@ What if we wanted a ``/register`` endpoint? It could easily be added like this:
('/register', Register),
)
Initialize(app, class_based_views=my_views)
Initialize(app, class_views=my_views)
You hook up your custom endpoints at :doc:`initialization<initialization>` by providing ``Initialize`` with a ``class_based_views`` argument naming your endpoint and its path.
You hook up your custom endpoints at :doc:`initialization<initialization>` by providing ``Initialize`` with a ``class_views`` argument naming your endpoint and its path.

.. code-block:: python
Expand Down

0 comments on commit a18672a

Please sign in to comment.