Skip to content

Commit 06c4347

Browse files
committed
Fixed #96 -- doc the 2 restframework methods.
1 parent ce8d1be commit 06c4347

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

api/urls.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,13 @@
202202
203203
Create a new :class:`~api.models.UserRegistration`.
204204
205-
.. http:post:: /api/auth/???
205+
.. http:post:: /api/auth/login
206206
207-
TODO: document the important rest_framework login URLs
207+
Authenticate for the REST framework.
208+
209+
.. http:post:: /api/auth/logout
210+
211+
Clear authentication for the REST framework.
208212
209213
.. http:get:: /api/generate-api-key/
210214

0 commit comments

Comments
 (0)