summaryrefslogtreecommitdiff
path: root/docs/oauth2/server.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/oauth2/server.rst')
-rw-r--r--docs/oauth2/server.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/oauth2/server.rst b/docs/oauth2/server.rst
index 35a58aa..bf29f69 100644
--- a/docs/oauth2/server.rst
+++ b/docs/oauth2/server.rst
@@ -188,7 +188,7 @@ tokens as text.
.. code-block:: python
- expires_at = django.db.models.DateTimeField()
+ expires = django.db.models.DateTimeField()
Authorization Code
^^^^^^^^^^^^^^^^^^
@@ -244,7 +244,7 @@ the token.
.. code-block:: python
- expires_at = django.db.models.DateTimeField()
+ expires = django.db.models.DateTimeField()
2. Implement a validator
------------------------