Code

Opened 6 years ago

Closed 6 years ago

#5922 closed (fixed)

ModelBackend is an old-style class (doesn't inherit from object)

Reported by: Honza_Kral Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords: ModelBackend auth class
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

... and thus it is difficult to override it and use super()

Attachments (1)

5922-simple-fix.diff (411 bytes) - added by Honza_Kral 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Honza_Kral

comment:1 Changed 6 years ago by guettli

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

Accepted. ModelBackend is still no new style class (I am running [7196])

comment:2 Changed 6 years ago by guettli

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 6 years ago by gwilson

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

(In [7201]) Fixed #5922 -- Turned ModelBackend authentication backend into a new-style class, thanks Honza_Kral.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.