You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started.rst
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ That’ll create a directory :file:`users`, which is laid out like this::
82
82
If you’re starting a new project, it’s highly recommended to set up a custom user model, even if the default `User`_ model is sufficient for you. This model behaves identically to the default user model, but you’ll be able to customize it in the future if the need arises.
83
83
-- `Django documentation`_
84
84
85
-
Edit :file:`users/models.py` adding the code bellow:
85
+
Edit :file:`users/models.py` adding the code below:
86
86
87
87
.. code-block:: python
88
88
@@ -105,7 +105,7 @@ Change :file:`iam/settings.py` to add ``users`` application to ``INSTALLED_APPS`
105
105
'users',
106
106
]
107
107
108
-
Configure ``users.User`` to be the model used for the ``auth`` application adding ``AUTH_USER_MODEL`` to :file:`iam/settings.py`:
108
+
Configure ``users.User`` to be the model used for the ``auth`` application by adding ``AUTH_USER_MODEL`` to :file:`iam/settings.py`:
109
109
110
110
.. code-block:: python
111
111
@@ -152,7 +152,7 @@ The ``migrate`` output::
152
152
Django OAuth Toolkit
153
153
--------------------
154
154
155
-
Django OAuth Toolkit can help you providing out of the box all the endpoints, data and logic needed to add OAuth2 capabilities to your Django projects.
155
+
Django OAuth Toolkit can help you by providing, out of the box, all the endpoints, data, and logic needed to add OAuth2 capabilities to your Django projects.
156
156
157
157
Install Django OAuth Toolkit::
158
158
@@ -231,12 +231,12 @@ We will start by given a try to the grant types listed below:
231
231
* Authorization code
232
232
* Client credential
233
233
234
-
This two grant types cover the most initially used uses cases.
234
+
These two grant types cover the most initially used use cases.
235
235
236
236
Authorization Code
237
237
------------------
238
238
239
-
The Authorization Code flow is best used in web and mobile apps. This is the flow used for third party integration, the user authorize your partner to access its products in your APIs.
239
+
The Authorization Code flow is best used in web and mobile apps. This is the flow used for third party integration, the user authorizes your partner to access its products in your APIs.
240
240
241
241
Start the development server::
242
242
@@ -256,7 +256,7 @@ Export ``Client id`` and ``Client secret`` values as environment variable:
Remenber we used ``http://127.0.0.1:8000/noexist/callback`` as ``redirect_uri`` you will get a **Page not found (404)** but it worked if you get a url like::
276
+
Remember we used ``http://127.0.0.1:8000/noexist/callback`` as ``redirect_uri`` you will get a **Page not found (404)** but it worked if you get a url like::
0 commit comments