Opened 9 years ago

Closed 9 years ago

#3504 closed (fixed)

Missing self in authentification doc

Reported by: bugs@… Owned by: jacob
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:


There is a typo in authentification doc, in part ow writing an authentification bakend:

class MyBackend:

def authenticate(username=None, password=None):

# Check the username/password and return a User.

class MyBackend:

def authenticate(token=None):

# Check the token and return a User.

There should be a self in arguments list, as they are class methods.

Attachments (1)

3504-authentication.patch (810 bytes) - added by Robert Myers <myer0052@…> 9 years ago.
Added a patch to fix the documentation errors.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 years ago by Michael Radziej <mir@…>

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

Changed 9 years ago by Robert Myers <myer0052@…>

Added a patch to fix the documentation errors.

comment:2 Changed 9 years ago by Robert Myers <myer0052@…>

  • Has patch set

comment:3 Changed 9 years ago by Per Jonsson <poj@…>

  • Triage Stage changed from Accepted to Ready for checkin

Looks good, patch is clean.

comment:4 Changed 9 years ago by jacob

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

(In [4572]) Fixed #3504: fixed a missing "self" in the authentication docs. Thanks, Robert Myers.

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