Opened 19 years ago
Closed 19 years ago
#3504 closed (fixed)
Missing self in authentification doc
| Reported by: | 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)
Change History (5)
comment:1 by , 19 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
by , 19 years ago
| Attachment: | 3504-authentication.patch added | 
|---|
comment:2 by , 19 years ago
| Has patch: | set | 
|---|
comment:4 by , 19 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
Added a patch to fix the documentation errors.