Opened 18 years ago

Closed 18 years ago

#3504 closed (fixed)

Missing self in authentification doc

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

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

Download all attachments as: .zip

Change History (5)

comment:1 by Michael Radziej <mir@…>, 18 years ago

Triage Stage: UnreviewedAccepted

by Robert Myers <myer0052@…>, 18 years ago

Attachment: 3504-authentication.patch added

Added a patch to fix the documentation errors.

comment:2 by Robert Myers <myer0052@…>, 18 years ago

Has patch: set

comment:3 by Per Jonsson <poj@…>, 18 years ago

Triage Stage: AcceptedReady for checkin

Looks good, patch is clean.

comment:4 by Jacob, 18 years ago

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