Author: timo
Date: 2011-01-03 07:46:28 -0600 (Mon, 03 Jan 2011)
New Revision: 15137

Modified:
   django/trunk/docs/topics/auth.txt
Log:
Fixed #14994 - Add attributes to example auth backend which would emit 
DeprecationWarning otherwise. Thanks kmike for the report and ojii for the 
patch.

Modified: django/trunk/docs/topics/auth.txt
===================================================================
--- django/trunk/docs/topics/auth.txt   2011-01-03 13:30:12 UTC (rev 15136)
+++ django/trunk/docs/topics/auth.txt   2011-01-03 13:46:28 UTC (rev 15137)
@@ -1537,6 +1537,11 @@
         ADMIN_LOGIN = 'admin'
         ADMIN_PASSWORD = 'sha1$4e987$afbcf42e21bd417fb71db8c66b321e9fc33051de'
         """
+        
+        supports_object_permissions = False
+        supports_anonymous_user = False
+        supports_inactive_user = False
+        
         def authenticate(self, username=None, password=None):
             login_valid = (settings.ADMIN_LOGIN == username)
             pwd_valid = check_password(password, settings.ADMIN_PASSWORD)

-- 
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.

Reply via email to