Opened 10 years ago

Closed 10 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@…> 10 years ago.
Added a patch to fix the documentation errors.

Download all attachments as: .zip

Change History (5)

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

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

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

Attachment: 3504-authentication.patch added

Added a patch to fix the documentation errors.

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

Has patch: set

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

Triage Stage: AcceptedReady for checkin

Looks good, patch is clean.

comment:4 Changed 10 years ago by Jacob

Resolution: fixed
Status: newclosed

(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