Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
44dfa053
Commit
44dfa053
authored
Jun 07, 2011
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo. Authenticat<i>on
parent
a8980892
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
djangorestframework/authentication.py
+6
-6
djangorestframework/views.py
+2
-2
No files found.
djangorestframework/authentication.py
View file @
44dfa053
...
@@ -13,13 +13,13 @@ from djangorestframework.utils import as_tuple
...
@@ -13,13 +13,13 @@ from djangorestframework.utils import as_tuple
import
base64
import
base64
__all__
=
(
__all__
=
(
'BaseAuthenticaton'
,
'BaseAuthenticat
i
on'
,
'BasicAuthenticaton'
,
'BasicAuthenticat
i
on'
,
'UserLoggedInAuthenticaton'
'UserLoggedInAuthenticat
i
on'
)
)
class
BaseAuthenticaton
(
object
):
class
BaseAuthenticat
i
on
(
object
):
"""
"""
All authentication classes should extend BaseAuthentication.
All authentication classes should extend BaseAuthentication.
"""
"""
...
@@ -47,7 +47,7 @@ class BaseAuthenticaton(object):
...
@@ -47,7 +47,7 @@ class BaseAuthenticaton(object):
return
None
return
None
class
BasicAuthenticat
on
(
BaseAuthenticat
on
):
class
BasicAuthenticat
ion
(
BaseAuthenticati
on
):
"""
"""
Use HTTP Basic authentication.
Use HTTP Basic authentication.
"""
"""
...
@@ -78,7 +78,7 @@ class BasicAuthenticaton(BaseAuthenticaton):
...
@@ -78,7 +78,7 @@ class BasicAuthenticaton(BaseAuthenticaton):
return
None
return
None
class
UserLoggedInAuthenticat
on
(
BaseAuthenticat
on
):
class
UserLoggedInAuthenticat
ion
(
BaseAuthenticati
on
):
"""
"""
Use Django's session framework for authentication.
Use Django's session framework for authentication.
"""
"""
...
...
djangorestframework/views.py
View file @
44dfa053
...
@@ -56,8 +56,8 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView):
...
@@ -56,8 +56,8 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView):
"""
"""
List of all authenticating methods to attempt.
List of all authenticating methods to attempt.
"""
"""
authentication
=
(
authentication
.
UserLoggedInAuthenticaton
,
authentication
=
(
authentication
.
UserLoggedInAuthenticat
i
on
,
authentication
.
BasicAuthenticaton
)
authentication
.
BasicAuthenticat
i
on
)
"""
"""
List of all permissions that must be checked.
List of all permissions that must be checked.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment