aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Piquemal2012-02-23 23:34:20 +0200
committerSébastien Piquemal2012-02-23 23:34:20 +0200
commit1ff741d1ccc38f099a7159bdef787e5c04dc4f79 (patch)
tree3f459473aba6c9fa6ab9b34b6b38bbaafa822c0d
parent023c008939c81ba8c33b4344b2c7756687e3be0b (diff)
downloaddjango-rest-framework-1ff741d1ccc38f099a7159bdef787e5c04dc4f79.tar.bz2
updated docs
-rw-r--r--djangorestframework/authentication.py5
-rw-r--r--djangorestframework/permissions.py7
2 files changed, 5 insertions, 7 deletions
diff --git a/djangorestframework/authentication.py b/djangorestframework/authentication.py
index 00a61e3d..904853e7 100644
--- a/djangorestframework/authentication.py
+++ b/djangorestframework/authentication.py
@@ -1,10 +1,7 @@
"""
The :mod:`authentication` module provides a set of pluggable authentication classes.
-Authentication behavior is provided by mixing the :class:`mixins.AuthMixin` class into a :class:`View` class.
-
-The set of authentication methods which are used is then specified by setting the
-:attr:`authentication` attribute on the :class:`View` class, and listing a set of :class:`authentication` classes.
+Authentication behavior is provided by mixing the :class:`mixins.RequestMixin` class into a :class:`View` class.
"""
from django.contrib.auth import authenticate
diff --git a/djangorestframework/permissions.py b/djangorestframework/permissions.py
index 335a7213..207a57b1 100644
--- a/djangorestframework/permissions.py
+++ b/djangorestframework/permissions.py
@@ -1,7 +1,8 @@
"""
-The :mod:`permissions` module bundles a set of permission classes that are used
-for checking if a request passes a certain set of constraints. You can assign a permission
-class to your view by setting your View's :attr:`permissions` class attribute.
+The :mod:`permissions` module bundles a set of permission classes that are used
+for checking if a request passes a certain set of constraints.
+
+Permission behavior is provided by mixing the :class:`mixins.PermissionsMixin` class into a :class:`View` class.
"""
from django.core.cache import cache