Author: lukeplant Date: 2010-01-18 14:51:29 -0600 (Mon, 18 Jan 2010) New Revision: 12256
Modified: django/trunk/docs/topics/auth.txt Log: Fixed typo in docs - supports_objects_permissions should be supports_object_permissions Modified: django/trunk/docs/topics/auth.txt =================================================================== --- django/trunk/docs/topics/auth.txt 2010-01-18 15:11:01 UTC (rev 12255) +++ django/trunk/docs/topics/auth.txt 2010-01-18 20:51:29 UTC (rev 12256) @@ -1570,12 +1570,12 @@ To enable object permissions in your own :ref:`authentication backend <ref-authentication-backends>` you'll just have to allow passing an ``obj`` parameter to the permission methods and set the -``supports_objects_permissions`` class attribute to ``True``. +``supports_object_permissions`` class attribute to ``True``. -A nonexistent ``supports_objects_permissions`` will raise a hidden +A nonexistent ``supports_object_permissions`` will raise a hidden ``PendingDeprecationWarning`` if used in Django 1.2. In Django 1.3, this warning will be upgraded to a ``DeprecationWarning``, which will be displayed -loudly. Additionally ``supports_objects_permissions`` will be set to ``False``. +loudly. Additionally ``supports_object_permissions`` will be set to ``False``. Django 1.4 will assume that every backend supports object permissions and -won't check for the existence of ``supports_objects_permissions``, which +won't check for the existence of ``supports_object_permissions``, which means not supporting ``obj`` as a parameter will raise a ``TypeError``.
-- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
