Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#14994 closed (fixed)

Example in auth docs emits DeprecationWarning

Reported by: Mikhail Korobov Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The 'SettingsBackend' auth backend in example ( http://docs.djangoproject.com/en/dev/topics/auth/#writing-an-authentication-backend ) should have 'supports_anonymous_user', 'supports_inactive_user' and 'supports_object_permissions' defined.

Attachments (1)

docs.topics.auth.patch (672 bytes ) - added by Jonas Obrist 14 years ago.
Patch for docs/topics/auth.txt

Download all attachments as: .zip

Change History (6)

comment:1 by Jannis Leidel, 14 years ago

Triage Stage: UnreviewedAccepted

by Jonas Obrist, 14 years ago

Attachment: docs.topics.auth.patch added

Patch for docs/topics/auth.txt

comment:2 by Jonas Obrist, 14 years ago

Has patch: set

comment:3 by Russell Keith-Magee, 14 years ago

Triage Stage: AcceptedReady for checkin

comment:4 by Tim Graham, 14 years ago

Resolution: fixed
Status: newclosed

(In [15137]) Fixed #14994 - Add attributes to example auth backend which would emit DeprecationWarning otherwise. Thanks kmike for the report and ojii for the patch.

comment:5 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top