Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#14994 closed (fixed)

Example in auth docs emits DeprecationWarning

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

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 ojii 5 years ago.
Patch for docs/topics/auth.txt

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by jezdez

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 5 years ago by ojii

Patch for docs/topics/auth.txt

comment:2 Changed 5 years ago by ojii

  • Has patch set

comment:3 Changed 5 years ago by russellm

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 4 years ago by timo

  • Resolution set to fixed
  • Status changed from new to closed

(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 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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