From 1ff741d1ccc38f099a7159bdef787e5c04dc4f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Piquemal?= Date: Thu, 23 Feb 2012 23:34:20 +0200 Subject: [PATCH] updated docs --- djangorestframework/authentication.py | 5 +---- djangorestframework/permissions.py | 7 ++++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/djangorestframework/authentication.py b/djangorestframework/authentication.py index 00a61e3d8..904853e76 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 335a72134..207a57b10 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