Skip to content

Commit dd6a4ed

Browse files
blueyedtony
authored andcommitted
Update helpers.rst
1 parent e0ead0f commit dd6a4ed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: docs/helpers.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,19 @@ Example
125125
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
126126

127127
Additional instances of RequestFactory, which mimic the behavior of these
128-
two middleware:
128+
two middlewares:
129129

130130
- `django.contrib.sessions.middleware.SessionMiddleware`_
131131
- `django.contrib.auth.middleware.AuthenticationMiddleware`_
132132

133-
This will add two attributes to the the ``request`` object,
133+
This will add two attributes to the ``request`` object,
134134
``request.user`` and ``request.session``.
135135

136136
- ``request.session`` is an in-memory `SessionBase`_ object.
137-
- ``request.user`` depends on the fixture used:
137+
- ``request.user`` depends on the fixture being used:
138138

139139
- ``rf_unauth``: an `AnonymousUser`_
140-
- ``rf_user``: a normal user with no additional priveleges
140+
- ``rf_user``: a normal user with no additional privileges
141141
- ``rf_admin``: an admin user
142142

143143
::
@@ -203,7 +203,7 @@ Using the `admin_client` fixture will cause the test to automatically be marked
203203
``user_client`` - ``django.test.Client`` logged in as normal user
204204
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205205

206-
Same as ``admin_client``, but a for a regular user.
206+
Same as ``admin_client``, but for a regular user.
207207

208208
Example
209209
"""""""

0 commit comments

Comments
 (0)